Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9907/0.9907, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8014/0.8014, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 75.02 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4955, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02744/0.5229, allocations: 31.69 MB / 0.8487 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.5409, allocations: 14.47 MB / 0.8629 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.5438, allocations: 207.8 kB / 0.8631 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004586/0.5484, allocations: 3.682 MB / 0.8667 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006497/0.5549, allocations: 2.975 MB / 0.8696 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.5595, allocations: 2.323 MB / 0.8718 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008878/0.5683, allocations: 8.829 MB / 0.8805 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005405/0.5737, allocations: 5.49 MB / 0.8858 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.5786, allocations: 4.086 MB / 0.8898 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.5822, allocations: 4.002 MB / 0.8937 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006757/0.5828, allocations: 0.7227 MB / 0.8944 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.5852, allocations: 1.623 MB / 0.896 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.5872, allocations: 2.887 MB / 0.8988 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.5893, allocations: 2.766 MB / 0.9015 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007487/0.5968, allocations: 11.27 MB / 0.9125 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5968, allocations: 0 / 0.9125 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5968, allocations: 3.938 kB / 0.9126 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.57e-05/0.5969, allocations: 0 / 0.9126 GB, free: 4.375 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006898/0.6038, allocations: 6.053 MB / 0.9185 GB, free: 14.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6038, allocations: 12.03 kB / 0.9185 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006481/0.6045, allocations: 0.727 MB / 0.9192 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/0.608, allocations: 1.172 MB / 0.9203 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.6119, allocations: 3.462 MB / 0.9237 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.6121, allocations: 374.4 kB / 0.9241 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004677/0.6126, allocations: 499.8 kB / 0.9245 GB, free: 7.922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008122/0.6207, allocations: 8.862 MB / 0.9332 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.536e-05/0.6208, allocations: 19.83 kB / 0.9332 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.6211, allocations: 220 kB / 0.9334 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005388/0.6217, allocations: 437.5 kB / 0.9338 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006329/0.628, allocations: 6.077 MB / 0.9398 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.6469, allocations: 22.05 MB / 0.9613 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.6486, allocations: 1.909 MB / 0.9632 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.6502, allocations: 1.744 MB / 0.9649 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.9e-05/0.6503, allocations: 22 kB / 0.9649 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.6503, allocations: 56.5 kB / 0.965 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=171): time 3.036e-06/0.6503, allocations: 0 / 0.965 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=276): time 0.0775/0.7278, allocations: 38.71 MB / 1.003 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.7279, allocations: 81.58 kB / 1.003 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.7301, allocations: 2.317 MB / 1.005 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.7302, allocations: 73.7 kB / 1.005 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.7313, allocations: 2.334 MB / 1.007 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005352/0.7318, allocations: 0.976 MB / 1.008 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005747/0.7324, allocations: 0.5102 MB / 1.009 GB, free: 400 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.7325, allocations: 305.1 kB / 1.009 GB, free: 92 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.7346, allocations: 1.977 MB / 1.011 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.7368, allocations: 2.602 MB / 1.014 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.7411, allocations: 4.937 MB / 1.018 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.7411, allocations: 4 kB / 1.018 GB, free: 6.051 MB / 0.7917 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.008678/0.7498, allocations: 7.65 MB / 1.026 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7498, allocations: 12 kB / 1.026 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.7498, allocations: 20 kB / 1.026 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/0.7549, allocations: 3.206 MB / 1.029 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.7557, allocations: 399.4 kB / 1.029 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0282/0.7839, allocations: 32.75 MB / 1.061 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.786, allocations: 167.8 kB / 1.062 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.7862, allocations: 108 kB / 1.062 GB, free: 8.973 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00244/0.7886, allocations: 1.793 MB / 1.063 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.789, allocations: 349.8 kB / 1.064 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008225/0.7972, allocations: 7.24 MB / 1.071 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.7972, allocations: 28 kB / 1.071 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.684e-05/0.7972, allocations: 28 kB / 1.071 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.7973, allocations: 11.95 kB / 1.071 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.811, allocations: 12.16 MB / 1.083 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.811, allocations: 12 kB / 1.083 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.8115, allocations: 228.5 kB / 1.083 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004288/0.8158, allocations: 2.851 MB / 1.086 GB, free: 16 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.8159, allocations: 48.05 kB / 1.086 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02673/0.8426, allocations: 31.54 MB / 1.117 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.8426, allocations: 11.94 kB / 1.117 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/0.8505, allocations: 6.787 MB / 1.123 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.8517, allocations: 0.7203 MB / 1.124 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.8519, allocations: 55.98 kB / 1.124 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/0.8528, allocations: 167.7 kB / 1.124 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00053/0.8533, allocations: 277 kB / 1.125 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.8535, allocations: 76 kB / 1.125 GB, free: 7.426 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001482/0.8549, allocations: 1.521 MB / 1.126 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8549, allocations: 0 / 1.126 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00258/0.8575, allocations: 1.371 MB / 1.127 GB, free: 4.531 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007598/0.8651, allocations: 7.416 MB / 1.135 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007121/0.8722, allocations: 6.568 MB / 1.141 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8722, allocations: 4 kB / 1.141 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004344/0.8766, allocations: 4.245 MB / 1.145 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.8791, allocations: 1.116 MB / 1.146 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3845/1.264, allocations: 39.05 MB / 1.184 GB, free: 271.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003172/1.267, allocations: 3.114 MB / 1.187 GB, free: 270.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001409/1.268, allocations: 0.5525 MB / 1.188 GB, free: 270.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.269, allocations: 1.977 MB / 1.19 GB, free: 268.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.233e-06/1.269, allocations: 0.8125 kB / 1.19 GB, free: 268.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.382, allocations: 119 MB / 1.306 GB, free: 160.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.778/11.16, allocations: 12.02 kB / 1.306 GB, free: 160.7 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.274065230041742] Failed to read output from testmodel.py, exit status != 0: 11.283719256985933 11.291151136 10.692688713 Calling exit ...