Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9761/0.9761, allocations: 175.7 MB / 480.1 MB, free: 2.758 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 72.19 kB / 0.6678 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1527, allocations: 94.53 MB / 0.7601 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03558/0.1883, allocations: 32.12 MB / 0.7915 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.209, allocations: 13.97 MB / 0.8051 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.2113, allocations: 139.3 kB / 0.8052 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007599/0.2189, allocations: 3.328 MB / 0.8085 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006518/0.2254, allocations: 2.782 MB / 0.8112 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.2301, allocations: 2.051 MB / 0.8132 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00915/0.2392, allocations: 7.621 MB / 0.8206 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00604/0.2452, allocations: 4.257 MB / 0.8248 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005446/0.2507, allocations: 3.467 MB / 0.8282 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005493/0.2562, allocations: 3.566 MB / 0.8317 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009788/0.2572, allocations: 0.5938 MB / 0.8322 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.26, allocations: 1.525 MB / 0.8337 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.2623, allocations: 2.424 MB / 0.8361 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.309/0.5713, allocations: 2.888 MB / 0.8389 GB, free: 21.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.5832, allocations: 9.485 MB / 0.8482 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5832, allocations: 0 / 0.8482 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5832, allocations: 1.406 kB / 0.8482 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000244/0.5834, allocations: 0 / 0.8482 GB, free: 21.23 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01336/0.5968, allocations: 5.267 MB / 0.8533 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.5968, allocations: 9.406 kB / 0.8533 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00144/0.5983, allocations: 0.6186 MB / 0.8539 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006636/0.6049, allocations: 1.018 MB / 0.8549 GB, free: 18.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/0.612, allocations: 3.1 MB / 0.858 GB, free: 18.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.6122, allocations: 316.1 kB / 0.8583 GB, free: 18.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.6138, allocations: 416.6 kB / 0.8587 GB, free: 18.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.6244, allocations: 6.796 MB / 0.8653 GB, free: 17.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.6245, allocations: 22.52 kB / 0.8653 GB, free: 17.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004853/0.625, allocations: 184 kB / 0.8655 GB, free: 17.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008472/0.6258, allocations: 375.5 kB / 0.8659 GB, free: 17.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.6337, allocations: 5.111 MB / 0.8708 GB, free: 17.1 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.6615, allocations: 30.58 MB / 0.9007 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.6634, allocations: 1.303 MB / 0.902 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.6649, allocations: 1.243 MB / 0.9032 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.6649, allocations: 19.69 kB / 0.9032 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.665, allocations: 55.81 kB / 0.9033 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=130): time 2.815e-06/0.665, allocations: 0 / 0.9033 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of matching and sorting (n=199): time 0.08222/0.7472, allocations: 23.08 MB / 0.9258 GB, free: 9.133 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.7473, allocations: 73.41 kB / 0.9259 GB, free: 9.047 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/0.7502, allocations: 2.062 MB / 0.9279 GB, free: 6.973 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.7504, allocations: 57.7 kB / 0.9279 GB, free: 6.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.7519, allocations: 2.065 MB / 0.93 GB, free: 4.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006632/0.7526, allocations: 0.7136 MB / 0.9307 GB, free: 4.133 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000734/0.7533, allocations: 408.4 kB / 0.931 GB, free: 3.727 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7534, allocations: 317 kB / 0.9313 GB, free: 3.414 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.7556, allocations: 1.431 MB / 0.9327 GB, free: 1.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.7582, allocations: 2.009 MB / 0.9347 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004942/0.7631, allocations: 3.695 MB / 0.9383 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.7631, allocations: 4 kB / 0.9383 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01094/0.7741, allocations: 5.593 MB / 0.9438 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.7741, allocations: 16 kB / 0.9438 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.7741, allocations: 19.98 kB / 0.9438 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006504/0.7806, allocations: 2.081 MB / 0.9458 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.7822, allocations: 379.6 kB / 0.9462 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04102/0.8232, allocations: 38.47 MB / 0.9838 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.8258, allocations: 123.9 kB / 0.9839 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.8259, allocations: 88 kB / 0.984 GB, free: 10.86 MB / 0.7325 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002846/0.8288, allocations: 1.508 MB / 0.9855 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/0.8293, allocations: 298.2 kB / 0.9857 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.8397, allocations: 5.143 MB / 0.9908 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.8397, allocations: 23.94 kB / 0.9908 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/0.8397, allocations: 16 kB / 0.9908 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.8397, allocations: 11.95 kB / 0.9908 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.8573, allocations: 9.603 MB / 1 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.8573, allocations: 7.469 kB / 1 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.8582, allocations: 227.7 kB / 1 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00559/0.8637, allocations: 1.837 MB / 1.002 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.8639, allocations: 44 kB / 1.002 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03888/0.9028, allocations: 37.46 MB / 1.039 GB, free: 280 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/0.9028, allocations: 11.28 kB / 1.039 GB, free: 272 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009088/0.9119, allocations: 4.858 MB / 1.044 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.9132, allocations: 0.624 MB / 1.044 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.9135, allocations: 44 kB / 1.044 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.9149, allocations: 135.8 kB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/0.9154, allocations: 191.8 kB / 1.045 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.9155, allocations: 60 kB / 1.045 GB, free: 10.26 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00197/0.9175, allocations: 1.371 MB / 1.046 GB, free: 8.883 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.9175, allocations: 0 / 1.046 GB, free: 8.883 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003512/0.921, allocations: 1.053 MB / 1.047 GB, free: 7.832 MB / 0.795 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009148/0.9302, allocations: 5.474 MB / 1.052 GB, free: 2.277 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009654/0.9398, allocations: 6.005 MB / 1.058 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9398, allocations: 4 kB / 1.058 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006538/0.9464, allocations: 4.28 MB / 1.062 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/0.9505, allocations: 0.975 MB / 1.063 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05133/1.002, allocations: 30.77 MB / 1.093 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003612/1.005, allocations: 3.12 MB / 1.096 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001708/1.007, allocations: 0.516 MB / 1.097 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/1.009, allocations: 1.667 MB / 1.099 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of SimCode: time 7.61e-07/1.009, allocations: 0 / 1.099 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4817/1.491, allocations: 89.33 MB / 1.186 GB, free: 328.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.38, allocations: 2.875 kB / 1.186 GB, free: 328.5 MB / 0.92 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.966584028996294]