Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001171/0.001171, allocations: 111.9 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.001189/0.001189, 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.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.316 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.9677/0.9677, allocations: 175.7 MB / 480.1 MB, free: 2.84 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_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 71.34 kB / 0.6678 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 94.53 MB / 0.7601 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03179/0.1853, allocations: 27.9 MB / 0.7873 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.1987, allocations: 8.348 MB / 0.7955 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.2003, allocations: 115.4 kB / 0.7956 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006373/0.2067, allocations: 2.872 MB / 0.7984 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.21, allocations: 1.668 MB / 0.8 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.2135, allocations: 1.732 MB / 0.8017 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006272/0.2198, allocations: 6.123 MB / 0.8077 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/0.2243, allocations: 3.618 MB / 0.8112 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.2275, allocations: 2.613 MB / 0.8138 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.2312, allocations: 3.002 MB / 0.8167 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006691/0.2318, allocations: 0.5078 MB / 0.8172 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.2341, allocations: 1.307 MB / 0.8185 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.236, allocations: 2.097 MB / 0.8205 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.2384, allocations: 2.385 MB / 0.8229 GB, free: 256 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007556/0.2459, allocations: 8.072 MB / 0.8307 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.246, allocations: 0 / 0.8307 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.246, allocations: 0 / 0.8307 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001012/0.2461, allocations: 0 / 0.8307 GB, free: 8.152 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007332/0.2534, allocations: 4.339 MB / 0.835 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2534, allocations: 8.031 kB / 0.835 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007098/0.2541, allocations: 0.5421 MB / 0.8355 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.258, allocations: 0.8218 MB / 0.8363 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2909/0.5489, allocations: 2.583 MB / 0.8388 GB, free: 67.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.5491, allocations: 277.2 kB / 0.8391 GB, free: 67.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.5502, allocations: 372.5 kB / 0.8395 GB, free: 67.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008794/0.559, allocations: 5.99 MB / 0.8453 GB, free: 65.92 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.183e-05/0.5591, allocations: 19.78 kB / 0.8453 GB, free: 65.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.5594, allocations: 156.2 kB / 0.8455 GB, free: 65.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005609/0.56, allocations: 282.6 kB / 0.8458 GB, free: 65.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007546/0.5675, allocations: 4.526 MB / 0.8502 GB, free: 64.2 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.5878, allocations: 27.51 MB / 0.877 GB, free: 41.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.589, allocations: 1.058 MB / 0.8781 GB, free: 40.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.5901, allocations: 0.961 MB / 0.879 GB, free: 40.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/0.5901, allocations: 23.27 kB / 0.879 GB, free: 40.37 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5902, allocations: 46.03 kB / 0.8791 GB, free: 40.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 2.294e-06/0.5902, allocations: 0 / 0.8791 GB, free: 40.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.01801/0.6082, allocations: 9.692 MB / 0.8885 GB, free: 34.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.6082, allocations: 66.03 kB / 0.8886 GB, free: 34.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.6096, allocations: 1.502 MB / 0.8901 GB, free: 33.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.6096, allocations: 45.67 kB / 0.8901 GB, free: 33.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005731/0.6102, allocations: 1.716 MB / 0.8918 GB, free: 32.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.6104, allocations: 493.4 kB / 0.8923 GB, free: 32.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.6108, allocations: 336.7 kB / 0.8926 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.202e-05/0.6109, allocations: 301.1 kB / 0.8929 GB, free: 31.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/0.6118, allocations: 0.9148 MB / 0.8938 GB, free: 31.17 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.6129, allocations: 1.464 MB / 0.8952 GB, free: 29.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.6151, allocations: 2.552 MB / 0.8977 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6151, allocations: 3.781 kB / 0.8977 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004331/0.6195, allocations: 3.278 MB / 0.9009 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.6195, allocations: 14.19 kB / 0.9009 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.6195, allocations: 16.91 kB / 0.9009 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.6213, allocations: 0.7408 MB / 0.9016 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.6226, allocations: 389.1 kB / 0.902 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.6329, allocations: 17.06 MB / 0.9187 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6343, allocations: 99.89 kB / 0.9188 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.6344, allocations: 76 kB / 0.9188 GB, free: 6.129 MB / 0.6387 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001536/0.636, allocations: 1.317 MB / 0.9201 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.6362, allocations: 210.7 kB / 0.9203 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.64, allocations: 2.761 MB / 0.923 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.64, allocations: 12 kB / 0.923 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.64, allocations: 8 kB / 0.923 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.64, allocations: 7.984 kB / 0.923 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008983/0.649, allocations: 6.199 MB / 0.9291 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.649, allocations: 4 kB / 0.9291 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.6502, allocations: 231.6 kB / 0.9293 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.6521, allocations: 0.6792 MB / 0.93 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/0.6522, allocations: 28 kB / 0.93 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/0.669, allocations: 16.79 MB / 0.9464 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.669, allocations: 11.94 kB / 0.9464 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/0.6753, allocations: 3.994 MB / 0.9503 GB, free: 4.309 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/0.6761, allocations: 467.7 kB / 0.9508 GB, free: 3.832 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.6763, allocations: 31.98 kB / 0.9508 GB, free: 3.801 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/0.6771, allocations: 83.89 kB / 0.9509 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/0.6774, allocations: 116.7 kB / 0.951 GB, free: 3.605 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.6775, allocations: 36 kB / 0.951 GB, free: 3.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001318/0.6788, allocations: 0.9981 MB / 0.952 GB, free: 2.582 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.6788, allocations: 0 / 0.952 GB, free: 2.582 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002108/0.6809, allocations: 0.6836 MB / 0.9527 GB, free: 1.898 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006421/0.6873, allocations: 4.599 MB / 0.9572 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005208/0.6926, allocations: 3.38 MB / 0.9605 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6926, allocations: 0.875 kB / 0.9605 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003294/0.6959, allocations: 2.26 MB / 0.9627 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.6987, allocations: 0.6596 MB / 0.9633 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03305/0.7318, allocations: 21.29 MB / 0.9841 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/0.7347, allocations: 2.664 MB / 0.9867 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001412/0.7361, allocations: 489.4 kB / 0.9872 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/0.7376, allocations: 1.276 MB / 0.9884 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.7376, allocations: 0 / 0.9884 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/0.8661, allocations: 57.8 MB / 1.045 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.8, allocations: 12.53 kB / 1.045 GB, free: 2.891 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.340313195003546]