Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001249/0.001249, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001338/0.001338, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9378/0.9378, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7255/0.7255, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.ACLineMatrix_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.129e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02116/0.02118, allocations: 21.12 MB / 0.6387 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007927/0.02911, allocations: 6.115 MB / 0.6447 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.03026, allocations: 127.1 kB / 0.6448 GB, free: 2.281 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.03222, allocations: 1.573 MB / 0.6463 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.03461, allocations: 1.764 MB / 0.648 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.0365, allocations: 1.352 MB / 0.6494 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.04025, allocations: 6.051 MB / 0.6553 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.04301, allocations: 3.206 MB / 0.6584 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.04562, allocations: 3.438 MB / 0.6618 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.04799, allocations: 2.775 MB / 0.6645 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.04839, allocations: 460 kB / 0.6649 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.04967, allocations: 1.049 MB / 0.6659 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.05096, allocations: 2.19 MB / 0.6681 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.05216, allocations: 1.501 MB / 0.6695 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.05706, allocations: 7.425 MB / 0.6768 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.05706, allocations: 0 / 0.6768 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.05707, allocations: 4 kB / 0.6768 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.502e-05/0.05715, allocations: 0 / 0.6768 GB, free: 1.344 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.2897/0.3468, allocations: 3.803 MB / 0.6805 GB, free: 95.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3469, allocations: 15.84 kB / 0.6805 GB, free: 95.01 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005698/0.3475, allocations: 0.5004 MB / 0.681 GB, free: 94.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.3506, allocations: 1.233 MB / 0.6822 GB, free: 94.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.3531, allocations: 2.304 MB / 0.6845 GB, free: 93.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.3533, allocations: 245.7 kB / 0.6847 GB, free: 93.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.3536, allocations: 318.1 kB / 0.685 GB, free: 93.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00535/0.359, allocations: 6.436 MB / 0.6913 GB, free: 90.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.359, allocations: 21.23 kB / 0.6913 GB, free: 90.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.3593, allocations: 137.2 kB / 0.6914 GB, free: 90.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/0.3595, allocations: 413.1 kB / 0.6918 GB, free: 90.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003968/0.3635, allocations: 4.652 MB / 0.6964 GB, free: 88.88 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.3758, allocations: 18.63 MB / 0.7146 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.3771, allocations: 1.364 MB / 0.7159 GB, free: 76.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3785, allocations: 1.439 MB / 0.7173 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.3786, allocations: 12.03 kB / 0.7173 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3786, allocations: 52.16 kB / 0.7174 GB, free: 76.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.3786, allocations: 0 / 0.7174 GB, free: 76.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=179): time 0.07162/0.4503, allocations: 37.07 MB / 0.7536 GB, free: 58.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.4503, allocations: 73.41 kB / 0.7536 GB, free: 58.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.4514, allocations: 1.454 MB / 0.7551 GB, free: 57.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-05/0.4515, allocations: 53.7 kB / 0.7551 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.4519, allocations: 1.582 MB / 0.7566 GB, free: 55.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.4521, allocations: 0.6306 MB / 0.7573 GB, free: 55.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.4525, allocations: 379.5 kB / 0.7576 GB, free: 54.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.397e-05/0.4525, allocations: 305.1 kB / 0.7579 GB, free: 54.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.454, allocations: 1.784 MB / 0.7597 GB, free: 52.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.4555, allocations: 2.347 MB / 0.762 GB, free: 49.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/0.4585, allocations: 4.398 MB / 0.7662 GB, free: 45.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4585, allocations: 8 kB / 0.7663 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009213/0.4677, allocations: 8.421 MB / 0.7745 GB, free: 36.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4678, allocations: 16 kB / 0.7745 GB, free: 36.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4678, allocations: 20 kB / 0.7745 GB, free: 36.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007289/0.4751, allocations: 4.612 MB / 0.779 GB, free: 32.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.4756, allocations: 299.5 kB / 0.7793 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/0.4988, allocations: 31.58 MB / 0.8101 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4999, allocations: 155.8 kB / 0.8103 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5, allocations: 87.94 kB / 0.8104 GB, free: 15.44 MB / 0.6511 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00181/0.5018, allocations: 1.326 MB / 0.8117 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.502, allocations: 206.7 kB / 0.8119 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.5125, allocations: 8.302 MB / 0.82 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.5125, allocations: 18.61 kB / 0.82 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.628e-05/0.5126, allocations: 28 kB / 0.82 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.5126, allocations: 11.97 kB / 0.82 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.5276, allocations: 12.21 MB / 0.8319 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.5276, allocations: 12 kB / 0.832 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.528, allocations: 163.7 kB / 0.8321 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007846/0.5359, allocations: 4.462 MB / 0.8365 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.536, allocations: 43.92 kB / 0.8365 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02849/0.5645, allocations: 31.19 MB / 0.867 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.5645, allocations: 8 kB / 0.867 GB, free: 4.555 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.5749, allocations: 8.089 MB / 0.8749 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.576, allocations: 0.5531 MB / 0.8754 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.5762, allocations: 36.11 kB / 0.8755 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/0.5769, allocations: 139.7 kB / 0.8756 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007485/0.5776, allocations: 180.8 kB / 0.8758 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.5777, allocations: 52 kB / 0.8758 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009536/0.5787, allocations: 0.9548 MB / 0.8767 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5787, allocations: 0 / 0.8767 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002332/0.581, allocations: 1.117 MB / 0.8778 GB, free: 9.316 MB / 0.7136 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01018/0.5912, allocations: 8.685 MB / 0.8863 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007573/0.5988, allocations: 6.307 MB / 0.8925 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.5988, allocations: 4 kB / 0.8925 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004924/0.6037, allocations: 4.177 MB / 0.8966 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.6054, allocations: 0.5238 MB / 0.8971 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03951/0.6449, allocations: 33.58 MB / 0.9299 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/0.6474, allocations: 2.17 MB / 0.932 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007719/0.6481, allocations: 392.6 kB / 0.9323 GB, free: 284 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009201/0.6491, allocations: 1.215 MB / 0.9335 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of SimCode: time 1.663e-06/0.6491, allocations: 0 / 0.9335 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3982/1.047, allocations: 89.94 MB / 1.021 GB, free: 243.3 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.604, allocations: 8.234 kB / 1.021 GB, free: 243.3 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.53792029991746] Failed to read output from testmodel.py, exit status != 0: 9.71999296080321 9.734020414 9.674236953 Calling exit ...