Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 72.44 kB / 19.17 MB, free: 0.7344 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.000831/0.000831, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8784/0.8784, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7198/0.7198, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.98e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02902/0.02904, allocations: 32.97 MB / 0.6503 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.0409, allocations: 9.865 MB / 0.6599 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.04263, allocations: 190.6 kB / 0.6601 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.04703, allocations: 3.848 MB / 0.6638 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.05036, allocations: 2.202 MB / 0.666 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.05315, allocations: 1.978 MB / 0.6679 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006365/0.05951, allocations: 8.133 MB / 0.6759 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2928/0.3523, allocations: 5.243 MB / 0.681 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006899/0.3592, allocations: 4.886 MB / 0.6858 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/0.3638, allocations: 3.454 MB / 0.6891 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.3651, allocations: 0.682 MB / 0.6898 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.3676, allocations: 1.38 MB / 0.6911 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.3695, allocations: 2.804 MB / 0.6939 GB, free: 52.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.3721, allocations: 2.167 MB / 0.696 GB, free: 52.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008253/0.3804, allocations: 10.57 MB / 0.7063 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3804, allocations: 0 / 0.7063 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3804, allocations: 0 / 0.7063 GB, free: 52.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002858/0.3807, allocations: 1.922 kB / 0.7063 GB, free: 52.07 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01152/0.3922, allocations: 5.411 MB / 0.7116 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.3922, allocations: 14.25 kB / 0.7116 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001747/0.394, allocations: 0.7008 MB / 0.7123 GB, free: 49.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.3978, allocations: 1.003 MB / 0.7133 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/0.4037, allocations: 3.132 MB / 0.7163 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.4039, allocations: 361.3 kB / 0.7167 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.405, allocations: 466.7 kB / 0.7171 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.4182, allocations: 8.665 MB / 0.7256 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.865e-05/0.4183, allocations: 19.02 kB / 0.7256 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000437/0.4187, allocations: 214.4 kB / 0.7258 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004375/0.4191, allocations: 368.1 kB / 0.7262 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009335/0.4285, allocations: 5.935 MB / 0.732 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0244/0.4529, allocations: 23.72 MB / 0.7551 GB, free: 25.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.455, allocations: 1.98 MB / 0.7571 GB, free: 24.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.456, allocations: 1.337 MB / 0.7584 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.637e-05/0.4561, allocations: 15.41 kB / 0.7584 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4561, allocations: 53.91 kB / 0.7584 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 4.047e-06/0.4562, allocations: 0 / 0.7584 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.008398/0.4645, allocations: 6.664 MB / 0.7649 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.4646, allocations: 68.97 kB / 0.765 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.4664, allocations: 1.912 MB / 0.7669 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.4665, allocations: 55.39 kB / 0.7669 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/0.4672, allocations: 2.19 MB / 0.7691 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.4675, allocations: 0.5688 MB / 0.7696 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.4679, allocations: 401.6 kB / 0.77 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.475e-05/0.4679, allocations: 301.1 kB / 0.7703 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009509/0.4689, allocations: 1.065 MB / 0.7713 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.47, allocations: 1.758 MB / 0.773 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.4723, allocations: 3.054 MB / 0.776 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.4723, allocations: 7.531 kB / 0.776 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00397/0.4763, allocations: 3.906 MB / 0.7798 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.4763, allocations: 18.62 kB / 0.7799 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4763, allocations: 20.25 kB / 0.7799 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.4776, allocations: 0.9279 MB / 0.7808 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.4784, allocations: 429.9 kB / 0.7812 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.4892, allocations: 21.36 MB / 0.8021 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.4908, allocations: 123.9 kB / 0.8022 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.4909, allocations: 95.98 kB / 0.8023 GB, free: 4.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002322/0.4932, allocations: 1.646 MB / 0.8039 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.4936, allocations: 270.4 kB / 0.8041 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.4971, allocations: 3.237 MB / 0.8073 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4971, allocations: 20 kB / 0.8073 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.4971, allocations: 8 kB / 0.8073 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4972, allocations: 7.969 kB / 0.8073 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009421/0.5066, allocations: 7.155 MB / 0.8143 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.5066, allocations: 8.062 kB / 0.8143 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.5071, allocations: 214.8 kB / 0.8145 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.5085, allocations: 0.891 MB / 0.8154 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/0.5086, allocations: 32 kB / 0.8154 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.5215, allocations: 21.33 MB / 0.8363 GB, free: 120 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5215, allocations: 7.469 kB / 0.8363 GB, free: 116 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.5254, allocations: 3.367 MB / 0.8396 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009185/0.5263, allocations: 474.7 kB / 0.84 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.5265, allocations: 35.94 kB / 0.84 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.5272, allocations: 95.88 kB / 0.8401 GB, free: 12.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.5274, allocations: 148.4 kB / 0.8403 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.5275, allocations: 40 kB / 0.8403 GB, free: 11.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001182/0.5287, allocations: 1.229 MB / 0.8415 GB, free: 10.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5287, allocations: 0 / 0.8415 GB, free: 10.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002133/0.5308, allocations: 0.9062 MB / 0.8424 GB, free: 9.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00361/0.5344, allocations: 3.964 MB / 0.8463 GB, free: 5.719 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00552/0.54, allocations: 4.29 MB / 0.8505 GB, free: 1.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.54, allocations: 0 / 0.8505 GB, free: 1.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.5426, allocations: 2.893 MB / 0.8533 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.5454, allocations: 0.8306 MB / 0.8541 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/0.5776, allocations: 25.28 MB / 0.8788 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002719/0.5803, allocations: 2.673 MB / 0.8814 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001293/0.5816, allocations: 0.5293 MB / 0.8819 GB, free: 172 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.5832, allocations: 1.658 MB / 0.8835 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of SimCode: time 2.545e-06/0.5832, allocations: 0 / 0.8835 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/0.6909, allocations: 74.9 MB / 0.9567 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.223/9.914, allocations: 7.453 kB / 0.9567 GB, free: 5.043 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.70617997366935] Failed to read output from testmodel.py, exit status != 0: 10.030389981344342 10.039640721 9.657398788 Calling exit ...