Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001402/0.001402, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001369/0.001369, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.324 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.9656/0.9656, allocations: 175.7 MB / 480.1 MB, free: 3.25 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 73.27 kB / 0.6678 GB, free: 11.06 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1544, allocations: 94.53 MB / 0.7601 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03778/0.1922, allocations: 34.25 MB / 0.7935 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.2089, allocations: 10.64 MB / 0.8039 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.2114, allocations: 143.3 kB / 0.8041 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00925/0.2207, allocations: 3.867 MB / 0.8078 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.2255, allocations: 1.952 MB / 0.8098 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005104/0.2306, allocations: 2.192 MB / 0.8119 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008474/0.239, allocations: 7.333 MB / 0.8191 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007072/0.2461, allocations: 4.819 MB / 0.8238 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004309/0.2504, allocations: 3.225 MB / 0.8269 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/0.2557, allocations: 3.676 MB / 0.8305 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.2568, allocations: 0.6445 MB / 0.8311 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.2602, allocations: 1.81 MB / 0.8329 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002827/0.263, allocations: 2.603 MB / 0.8354 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004291/0.2673, allocations: 2.902 MB / 0.8383 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.321/0.5883, allocations: 10.13 MB / 0.8482 GB, free: 23.17 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5883, allocations: 3.875 kB / 0.8482 GB, free: 23.17 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5883, allocations: 0 / 0.8482 GB, free: 23.17 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002343/0.5885, allocations: 0.5625 kB / 0.8482 GB, free: 23.17 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01228/0.6008, allocations: 5.125 MB / 0.8532 GB, free: 21.14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6009, allocations: 9.438 kB / 0.8532 GB, free: 21.14 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0014/0.6023, allocations: 0.6787 MB / 0.8538 GB, free: 21.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005337/0.6076, allocations: 0.98 MB / 0.8548 GB, free: 20.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.6123, allocations: 3.06 MB / 0.8578 GB, free: 20.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.6125, allocations: 348.1 kB / 0.8581 GB, free: 20.13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008543/0.6134, allocations: 465.2 kB / 0.8586 GB, free: 20.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.6248, allocations: 7.671 MB / 0.8661 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.6249, allocations: 27.28 kB / 0.8661 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005029/0.6254, allocations: 200.4 kB / 0.8663 GB, free: 19.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002885/0.6257, allocations: 312.8 kB / 0.8666 GB, free: 19.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00843/0.6341, allocations: 5.71 MB / 0.8722 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.028/0.6621, allocations: 34.9 MB / 0.9062 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.6646, allocations: 2.004 MB / 0.9082 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.666, allocations: 1.124 MB / 0.9093 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.983e-05/0.666, allocations: 14.03 kB / 0.9093 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.6661, allocations: 45.95 kB / 0.9093 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=133): time 3.056e-06/0.6661, allocations: 3.094 kB / 0.9093 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.01323/0.6793, allocations: 7.116 MB / 0.9163 GB, free: 13.68 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.6793, allocations: 64.44 kB / 0.9164 GB, free: 13.61 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.6811, allocations: 1.496 MB / 0.9178 GB, free: 12.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.6812, allocations: 49.55 kB / 0.9179 GB, free: 12.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.6826, allocations: 2.062 MB / 0.9199 GB, free: 10.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.683, allocations: 0.4948 MB / 0.9204 GB, free: 10.47 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004677/0.6834, allocations: 360.1 kB / 0.9207 GB, free: 10.26 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6836, allocations: 301.1 kB / 0.921 GB, free: 9.965 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.6847, allocations: 0.9101 MB / 0.9219 GB, free: 9.492 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.6862, allocations: 1.597 MB / 0.9234 GB, free: 8.109 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/0.6892, allocations: 2.733 MB / 0.9261 GB, free: 6.172 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.6892, allocations: 10.56 kB / 0.9261 GB, free: 6.168 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005287/0.6945, allocations: 3.51 MB / 0.9295 GB, free: 4.398 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.6945, allocations: 17.22 kB / 0.9296 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.6945, allocations: 20.97 kB / 0.9296 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.6969, allocations: 0.905 MB / 0.9305 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/0.6979, allocations: 347.9 kB / 0.9308 GB, free: 3.836 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/0.7193, allocations: 23.13 MB / 0.9534 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.721, allocations: 104 kB / 0.9535 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.7212, allocations: 84 kB / 0.9536 GB, free: 11.29 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.00296/0.7241, allocations: 1.615 MB / 0.9551 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.7245, allocations: 222.2 kB / 0.9553 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/0.7296, allocations: 2.956 MB / 0.9582 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7296, allocations: 16 kB / 0.9583 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.7297, allocations: 8 kB / 0.9583 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7297, allocations: 3.984 kB / 0.9583 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.7414, allocations: 7.316 MB / 0.9654 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.7414, allocations: 4 kB / 0.9654 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.7421, allocations: 177.6 kB / 0.9656 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/0.7444, allocations: 0.828 MB / 0.9664 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.7445, allocations: 32 kB / 0.9664 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/0.7644, allocations: 21.95 MB / 0.9879 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.7645, allocations: 11.28 kB / 0.9879 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/0.7697, allocations: 3.007 MB / 0.9908 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.7708, allocations: 463.6 kB / 0.9912 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.771, allocations: 39.92 kB / 0.9913 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.7718, allocations: 70.55 kB / 0.9914 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003181/0.7721, allocations: 127.6 kB / 0.9915 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/0.7722, allocations: 39.98 kB / 0.9915 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001322/0.7735, allocations: 0.9717 MB / 0.9925 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7735, allocations: 4 kB / 0.9925 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00277/0.7763, allocations: 0.7891 MB / 0.9932 GB, free: 0.8047 MB / 0.7325 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005083/0.7814, allocations: 3.599 MB / 0.9968 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005508/0.7869, allocations: 3.926 MB / 1.001 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7869, allocations: 0 / 1.001 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/0.7904, allocations: 2.663 MB / 1.003 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.7934, allocations: 0.734 MB / 1.004 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/0.8278, allocations: 22.52 MB / 1.026 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/0.8313, allocations: 3.105 MB / 1.029 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001296/0.8326, allocations: 458 kB / 1.029 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/0.8343, allocations: 1.538 MB / 1.031 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of SimCode: time 7.41e-07/0.8343, allocations: 0 / 1.031 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/0.9665, allocations: 62.08 MB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.95, allocations: 11.92 kB / 1.091 GB, free: 11.91 MB / 0.8419 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.520876541995676]