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.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.001426/0.001426, allocations: 110.8 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.00142/0.00142, allocations: 189.9 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.184 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.9836/0.9836, allocations: 175.7 MB / 480.1 MB, free: 2.824 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_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 0.001793/0.001793, allocations: 67.97 kB / 0.6678 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.158, allocations: 94.53 MB / 0.7601 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04132/0.1993, allocations: 36.77 MB / 0.796 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.2165, allocations: 10.31 MB / 0.8061 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.2193, allocations: 143.3 kB / 0.8062 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009883/0.2292, allocations: 3.953 MB / 0.8101 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006366/0.2355, allocations: 2.146 MB / 0.8122 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00509/0.2406, allocations: 2.029 MB / 0.8141 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009727/0.2503, allocations: 7.963 MB / 0.8219 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007779/0.2581, allocations: 4.91 MB / 0.8267 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.263, allocations: 3.427 MB / 0.8301 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006044/0.269, allocations: 3.929 MB / 0.8339 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.2706, allocations: 0.6797 MB / 0.8346 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.2735, allocations: 1.475 MB / 0.836 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.2761, allocations: 2.681 MB / 0.8386 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.3102/0.5862, allocations: 3.096 MB / 0.8416 GB, free: 21.61 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.597, allocations: 10.41 MB / 0.8518 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.597, allocations: 0.6875 kB / 0.8518 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.597, allocations: 0 / 0.8518 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002654/0.5973, allocations: 3.281 kB / 0.8518 GB, free: 20.59 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01534/0.6126, allocations: 5.532 MB / 0.8572 GB, free: 18.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6127, allocations: 10.16 kB / 0.8572 GB, free: 18.45 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001257/0.6139, allocations: 0.7025 MB / 0.8579 GB, free: 18.38 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.6187, allocations: 0.9923 MB / 0.8589 GB, free: 18.08 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006277/0.625, allocations: 3.196 MB / 0.862 GB, free: 17.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.6252, allocations: 354.1 kB / 0.8623 GB, free: 17.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.6266, allocations: 470.4 kB / 0.8628 GB, free: 17.38 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.6408, allocations: 7.914 MB / 0.8705 GB, free: 16.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.641, allocations: 23.27 kB / 0.8705 GB, free: 16.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006008/0.6416, allocations: 208.2 kB / 0.8707 GB, free: 16.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005006/0.6421, allocations: 369.3 kB / 0.8711 GB, free: 16.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.6525, allocations: 5.94 MB / 0.8769 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/0.684, allocations: 36.01 MB / 0.9121 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.6868, allocations: 1.985 MB / 0.914 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.6884, allocations: 1.333 MB / 0.9153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.894e-05/0.6885, allocations: 20.28 kB / 0.9153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.6885, allocations: 62.91 kB / 0.9154 GB, free: 13.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=157): time 3.266e-06/0.6885, allocations: 0 / 0.9154 GB, free: 13.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=160): time 0.01259/0.7011, allocations: 7.569 MB / 0.9228 GB, free: 8.648 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.7011, allocations: 73.12 kB / 0.9228 GB, free: 8.586 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.7034, allocations: 1.861 MB / 0.9247 GB, free: 7.562 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.7035, allocations: 51.89 kB / 0.9247 GB, free: 7.512 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.705, allocations: 2.192 MB / 0.9268 GB, free: 5.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.7055, allocations: 0.5811 MB / 0.9274 GB, free: 5.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.7061, allocations: 409.9 kB / 0.9278 GB, free: 4.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7062, allocations: 305.1 kB / 0.9281 GB, free: 4.555 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.7076, allocations: 1.064 MB / 0.9291 GB, free: 3.996 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.7095, allocations: 1.767 MB / 0.9309 GB, free: 2.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.713, allocations: 3.045 MB / 0.9338 GB, free: 252 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.713, allocations: 8 kB / 0.9338 GB, free: 244 kB / 0.67 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006366/0.7193, allocations: 3.91 MB / 0.9377 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.7194, allocations: 13.88 kB / 0.9377 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.7194, allocations: 24 kB / 0.9377 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/0.7217, allocations: 0.9327 MB / 0.9386 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.7232, allocations: 428.3 kB / 0.939 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0216/0.7448, allocations: 22.77 MB / 0.9613 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.747, allocations: 123.9 kB / 0.9614 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.7472, allocations: 95.98 kB / 0.9615 GB, free: 2.516 MB / 0.7012 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.00301/0.7502, allocations: 1.641 MB / 0.9631 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.7506, allocations: 270.4 kB / 0.9633 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/0.7561, allocations: 3.233 MB / 0.9665 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.7561, allocations: 16 kB / 0.9665 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.7561, allocations: 11.98 kB / 0.9665 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.7561, allocations: 3.984 kB / 0.9665 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.7678, allocations: 7.532 MB / 0.9739 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.7678, allocations: 11.56 kB / 0.9739 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009022/0.7687, allocations: 214.7 kB / 0.9741 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/0.7709, allocations: 0.8909 MB / 0.975 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.771, allocations: 32 kB / 0.975 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/0.7928, allocations: 22.74 MB / 0.9972 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/0.7928, allocations: 15.56 kB / 0.9972 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/0.7986, allocations: 3.36 MB / 1 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/0.8003, allocations: 0.5422 MB / 1.001 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.8006, allocations: 28 kB / 1.001 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.8017, allocations: 103.8 kB / 1.001 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.8021, allocations: 139.6 kB / 1.001 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.8022, allocations: 48 kB / 1.001 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001772/0.804, allocations: 1.221 MB / 1.003 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.804, allocations: 3.938 kB / 1.003 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003184/0.8072, allocations: 0.9062 MB / 1.003 GB, free: 5.832 MB / 0.7481 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.005761/0.813, allocations: 3.97 MB / 1.007 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006605/0.8196, allocations: 4.293 MB / 1.011 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8196, allocations: 0 / 1.011 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/0.8238, allocations: 2.904 MB / 1.014 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.8274, allocations: 0.8275 MB / 1.015 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/0.8684, allocations: 25.23 MB / 1.04 GB, free: 15.53 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00368/0.8721, allocations: 3.209 MB / 1.043 GB, free: 12.29 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00169/0.8738, allocations: 0.5254 MB / 1.043 GB, free: 11.76 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/0.8758, allocations: 1.651 MB / 1.045 GB, free: 10.11 MB / 0.795 GB Notification: Performance of SimCode: time 1.072e-06/0.8758, allocations: 0 / 1.045 GB, free: 10.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/1.03, allocations: 71.04 MB / 1.114 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.99, allocations: 0 / 1.114 GB, free: 4.086 MB / 0.8575 GB " [Timeout remaining time 646] (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 --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: 17.604595448006876]