Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.184/1.184, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.665e-05, allocations: 4.906 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01934/0.01936, allocations: 15.15 MB / 0.6334 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009318/0.02868, allocations: 4.726 MB / 0.638 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.03004, allocations: 83.38 kB / 0.6381 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.03328, allocations: 1.061 MB / 0.6391 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.03557, allocations: 0.8002 MB / 0.6399 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.03822, allocations: 0.9192 MB / 0.6408 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004669/0.04289, allocations: 3.683 MB / 0.6444 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004108/0.047, allocations: 2.461 MB / 0.6468 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.05091, allocations: 2.273 MB / 0.649 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.05388, allocations: 1.683 MB / 0.6507 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005766/0.05446, allocations: 340 kB / 0.651 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.05607, allocations: 0.7526 MB / 0.6517 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.05764, allocations: 1.423 MB / 0.6531 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.05911, allocations: 1.021 MB / 0.6541 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.06505, allocations: 5.24 MB / 0.6592 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.06506, allocations: 4 kB / 0.6592 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.06506, allocations: 0 / 0.6592 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.767e-05/0.06516, allocations: 3.938 kB / 0.6592 GB, free: 10.78 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005623/0.07078, allocations: 2.607 MB / 0.6618 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.07083, allocations: 8.031 kB / 0.6618 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/0.07502, allocations: 0.8576 MB / 0.6626 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.07797, allocations: 1.534 MB / 0.6641 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.07812, allocations: 173.1 kB / 0.6643 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.07853, allocations: 232.4 kB / 0.6645 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007036/0.08557, allocations: 4.254 MB / 0.6687 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/0.08562, allocations: 8.125 kB / 0.6687 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/0.0859, allocations: 108.3 kB / 0.6688 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002179/0.08612, allocations: 168.5 kB / 0.6689 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006057/0.09218, allocations: 3.624 MB / 0.6725 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/0.1082, allocations: 10.46 MB / 0.6827 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.1114, allocations: 1.457 MB / 0.6841 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008812/0.1123, allocations: 0.5587 MB / 0.6846 GB, free: 136 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.951e-05/0.1124, allocations: 12.78 kB / 0.6847 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.1124, allocations: 51.14 kB / 0.6847 GB, free: 60 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.515e-06/0.1124, allocations: 0 / 0.6847 GB, free: 60 kB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.005713/0.1182, allocations: 3.201 MB / 0.6878 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.1182, allocations: 111.5 kB / 0.6879 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.1196, allocations: 1.036 MB / 0.689 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.1197, allocations: 45.77 kB / 0.689 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008257/0.1205, allocations: 1.138 MB / 0.6901 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.1207, allocations: 289.5 kB / 0.6904 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.1212, allocations: 275.4 kB / 0.6906 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.1214, allocations: 410.7 kB / 0.691 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009772/0.1224, allocations: 0.6206 MB / 0.6916 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.1238, allocations: 1.189 MB / 0.6928 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.1263, allocations: 1.857 MB / 0.6946 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.1263, allocations: 4 kB / 0.6946 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003273/0.1296, allocations: 2.031 MB / 0.6966 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.1296, allocations: 14.66 kB / 0.6966 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.1297, allocations: 20 kB / 0.6966 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.1301, allocations: 159.3 kB / 0.6968 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.1313, allocations: 347.3 kB / 0.6971 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.473e-05/0.1313, allocations: 39.86 kB / 0.6972 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.1322, allocations: 131.8 kB / 0.6973 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.1324, allocations: 71.98 kB / 0.6974 GB, free: 2.445 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001435/0.1338, allocations: 0.9742 MB / 0.6983 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.134, allocations: 111.3 kB / 0.6984 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.1362, allocations: 1.232 MB / 0.6996 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1362, allocations: 8 kB / 0.6996 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1362, allocations: 4 kB / 0.6996 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.1362, allocations: 11.98 kB / 0.6996 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3176/0.4538, allocations: 2.87 MB / 0.7024 GB, free: 81.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4539, allocations: 3.25 kB / 0.7024 GB, free: 81.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.4545, allocations: 156.3 kB / 0.7026 GB, free: 81.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.4549, allocations: 143.4 kB / 0.7027 GB, free: 81.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.4549, allocations: 19.75 kB / 0.7027 GB, free: 81.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.4549, allocations: 6.781 kB / 0.7028 GB, free: 81.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4549, allocations: 3.188 kB / 0.7028 GB, free: 81.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.457, allocations: 1.465 MB / 0.7042 GB, free: 80.85 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.4574, allocations: 204.8 kB / 0.7044 GB, free: 80.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.4575, allocations: 17.27 kB / 0.7044 GB, free: 80.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.4581, allocations: 68.75 kB / 0.7045 GB, free: 80.78 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4583, allocations: 63.38 kB / 0.7045 GB, free: 80.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.4583, allocations: 25.28 kB / 0.7046 GB, free: 80.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008593/0.4592, allocations: 0.6884 MB / 0.7052 GB, free: 80.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4592, allocations: 0 / 0.7052 GB, free: 80.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0014/0.4606, allocations: 388.9 kB / 0.7056 GB, free: 80.45 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001931/0.4608, allocations: 125.7 kB / 0.7057 GB, free: 80.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.4627, allocations: 1.354 MB / 0.707 GB, free: 79.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4627, allocations: 0 / 0.707 GB, free: 79.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.4634, allocations: 0.5302 MB / 0.7076 GB, free: 79.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.4647, allocations: 265.6 kB / 0.7078 GB, free: 79.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.4695, allocations: 3.81 MB / 0.7115 GB, free: 77.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.471, allocations: 1.338 MB / 0.7128 GB, free: 77.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00103/0.4721, allocations: 446.8 kB / 0.7133 GB, free: 77.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.4723, allocations: 86.98 kB / 0.7133 GB, free: 77.49 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.4723, allocations: 1.062 kB / 0.7133 GB, free: 77.49 MB / 0.6075 GB Notification: Performance of Templates: time 0.02461/0.4969, allocations: 12.78 MB / 0.7258 GB, free: 74.61 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.411974772810936] Failed to read output from testmodel.py, exit status != 0: 0.5057860501110554 0.515204299 0.44785387400000004 Calling exit ...