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.00179/0.00179, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.001637/0.001637, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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 1.092/1.092, allocations: 175.8 MB / 478.4 MB, free: 8.484 MB / 382.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.001962/0.001962, allocations: 63.72 kB / 0.6652 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1958, allocations: 94.54 MB / 0.7575 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4401/0.6359, allocations: 27.08 MB / 0.784 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.6528, allocations: 8.155 MB / 0.7919 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.6565, allocations: 115.4 kB / 0.7921 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008856/0.6653, allocations: 2.804 MB / 0.7948 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005955/0.6713, allocations: 1.666 MB / 0.7964 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005854/0.6771, allocations: 1.684 MB / 0.7981 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.688, allocations: 6.137 MB / 0.8041 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.6984, allocations: 5.321 MB / 0.8093 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005586/0.704, allocations: 2.62 MB / 0.8118 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/0.7098, allocations: 2.999 MB / 0.8147 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.7116, allocations: 0.5085 MB / 0.8152 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.7157, allocations: 1.305 MB / 0.8165 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00369/0.7194, allocations: 2.108 MB / 0.8186 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005031/0.7244, allocations: 2.382 MB / 0.8209 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.7354, allocations: 8.075 MB / 0.8288 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7354, allocations: 3.938 kB / 0.8288 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7354, allocations: 0 / 0.8288 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002195/0.7356, allocations: 1.594 kB / 0.8288 GB, free: 14.11 MB / 0.6231 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.01175/0.7474, allocations: 4.334 MB / 0.833 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7474, allocations: 12.03 kB / 0.833 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/0.7486, allocations: 0.5343 MB / 0.8336 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004823/0.7534, allocations: 0.8271 MB / 0.8344 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007253/0.7607, allocations: 2.586 MB / 0.8369 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.761, allocations: 275.6 kB / 0.8372 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.7624, allocations: 376.4 kB / 0.8375 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.7758, allocations: 5.996 MB / 0.8434 GB, free: 44 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.7759, allocations: 11.89 kB / 0.8434 GB, free: 32 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.7764, allocations: 160.8 kB / 0.8435 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006644/0.777, allocations: 286.8 kB / 0.8438 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.7877, allocations: 4.52 MB / 0.8482 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03728/0.8249, allocations: 27.5 MB / 0.8751 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.8267, allocations: 1.06 MB / 0.8761 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.8281, allocations: 0.9718 MB / 0.8771 GB, free: 11.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.8281, allocations: 9 kB / 0.8771 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.8282, allocations: 59.56 kB / 0.8771 GB, free: 10.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.116e-06/0.8282, allocations: 0 / 0.8771 GB, free: 10.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.02294/0.8511, allocations: 9.692 MB / 0.8866 GB, free: 1.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.8512, allocations: 64.72 kB / 0.8867 GB, free: 1.016 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.8534, allocations: 1.498 MB / 0.8881 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.8535, allocations: 49.7 kB / 0.8882 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.8549, allocations: 1.715 MB / 0.8898 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.8555, allocations: 491.8 kB / 0.8903 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007178/0.8562, allocations: 331.4 kB / 0.8906 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8564, allocations: 309.1 kB / 0.8909 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.858, allocations: 0.9174 MB / 0.8918 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.86, allocations: 1.463 MB / 0.8932 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00371/0.8637, allocations: 2.555 MB / 0.8957 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.8637, allocations: 4 kB / 0.8957 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006495/0.8702, allocations: 3.271 MB / 0.8989 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.8702, allocations: 12 kB / 0.8989 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.8703, allocations: 19.98 kB / 0.899 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.8727, allocations: 0.7379 MB / 0.8997 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.8744, allocations: 387.4 kB / 0.9001 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/0.8937, allocations: 17.05 MB / 0.9167 GB, free: 396 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.8957, allocations: 95.91 kB / 0.9168 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/0.896, allocations: 72 kB / 0.9169 GB, free: 228 kB / 0.7012 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.003076/0.8991, allocations: 1.317 MB / 0.9182 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/0.8997, allocations: 210.7 kB / 0.9184 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00584/0.9055, allocations: 2.761 MB / 0.9211 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.9055, allocations: 19.97 kB / 0.9211 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.251e-05/0.9055, allocations: 4 kB / 0.9211 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.9056, allocations: 7.984 kB / 0.9211 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.9194, allocations: 6.205 MB / 0.9271 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.9194, allocations: 4 kB / 0.9271 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.9207, allocations: 235.8 kB / 0.9274 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.9229, allocations: 0.6672 MB / 0.928 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.9231, allocations: 35.98 kB / 0.9281 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.9421, allocations: 16.79 MB / 0.9445 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.9421, allocations: 8 kB / 0.9445 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007343/0.9494, allocations: 3.99 MB / 0.9484 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.9509, allocations: 475.6 kB / 0.9488 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006021/0.9515, allocations: 35.94 kB / 0.9488 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.9527, allocations: 79.89 kB / 0.9489 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/0.9531, allocations: 120.8 kB / 0.949 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.9532, allocations: 40 kB / 0.9491 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001859/0.9551, allocations: 0.9942 MB / 0.95 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9551, allocations: 0 / 0.95 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003084/0.9582, allocations: 0.6836 MB / 0.9507 GB, free: 11.93 MB / 0.7481 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.007722/0.9659, allocations: 4.593 MB / 0.9552 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006056/0.9719, allocations: 3.378 MB / 0.9585 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.9719, allocations: 4 kB / 0.9585 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.9757, allocations: 2.249 MB / 0.9607 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/0.9795, allocations: 0.6722 MB / 0.9614 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.042/1.021, allocations: 21.21 MB / 0.9821 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004361/1.026, allocations: 2.66 MB / 0.9847 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001893/1.028, allocations: 485.4 kB / 0.9851 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.03, allocations: 1.284 MB / 0.9864 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of SimCode: time 1.052e-06/1.03, allocations: 0 / 0.9864 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/1.17, allocations: 57.55 MB / 1.043 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.91, allocations: 3.25 kB / 1.043 GB, free: 13.32 MB / 0.8419 GB " [Timeout remaining time 645] (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 --stepSize=0.0004 --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: 18.98605018714443] Failed to read output from testmodel.py, exit status != 0: 15.029605241958052 15.055102648 14.314568168 Calling exit ...