Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.002507/0.002507, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002987/0.002987, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003399/0.003399, allocations: 245.7 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.188/1.188, allocations: 138.5 MB / 454.7 MB, free: 1.488 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.992e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007469/0.007499, allocations: 4.806 MB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.0127, allocations: 2.49 MB / 0.5615 GB, free: 9.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.01309, allocations: 35.62 kB / 0.5615 GB, free: 9.484 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.01442, allocations: 421.8 kB / 0.5619 GB, free: 9.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.01559, allocations: 477.2 kB / 0.5624 GB, free: 8.602 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009125/0.01651, allocations: 374.9 kB / 0.5627 GB, free: 8.234 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.01771, allocations: 0.9486 MB / 0.5636 GB, free: 7.281 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.01827, allocations: 322.4 kB / 0.5639 GB, free: 6.965 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.01906, allocations: 486.7 kB / 0.5644 GB, free: 6.488 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.01968, allocations: 307 kB / 0.5647 GB, free: 6.188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.597e-05/0.01976, allocations: 40 kB / 0.5647 GB, free: 6.148 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008511/0.02062, allocations: 367 kB / 0.5651 GB, free: 5.789 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.02087, allocations: 195.3 kB / 0.5653 GB, free: 5.598 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.02116, allocations: 207.5 kB / 0.5655 GB, free: 5.395 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.02244, allocations: 0.9071 MB / 0.5664 GB, free: 4.484 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02245, allocations: 4 kB / 0.5664 GB, free: 4.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02245, allocations: 0 / 0.5664 GB, free: 4.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.02246, allocations: 0 / 0.5664 GB, free: 4.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001659/0.02412, allocations: 1.009 MB / 0.5674 GB, free: 3.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.02417, allocations: 16.75 kB / 0.5674 GB, free: 3.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.02556, allocations: 287.9 kB / 0.5676 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.02676, allocations: 0.4911 MB / 0.5681 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.0268, allocations: 33.36 kB / 0.5682 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.02689, allocations: 48.36 kB / 0.5682 GB, free: 2.535 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.02813, allocations: 0.9042 MB / 0.5691 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.02815, allocations: 8.125 kB / 0.5691 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.02821, allocations: 24.31 kB / 0.5691 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.02833, allocations: 76.89 kB / 0.5692 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.02899, allocations: 335.3 kB / 0.5695 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006183/0.03518, allocations: 6.417 MB / 0.5758 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.03569, allocations: 255.9 kB / 0.576 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.0359, allocations: 99.64 kB / 0.5761 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.03594, allocations: 4 kB / 0.5761 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.03598, allocations: 41.39 kB / 0.5762 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.534e-06/0.03598, allocations: 0 / 0.5762 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.002211/0.03819, allocations: 0.7363 MB / 0.5769 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.03824, allocations: 55.69 kB / 0.5769 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.03893, allocations: 0.5805 MB / 0.5775 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.03896, allocations: 29.7 kB / 0.5775 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.03933, allocations: 439 kB / 0.5779 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.03946, allocations: 131 kB / 0.5781 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.03964, allocations: 123.9 kB / 0.5782 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003344/0.03998, allocations: 0.5547 MB / 0.5787 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.04021, allocations: 113.2 kB / 0.5788 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.04078, allocations: 482.6 kB / 0.5793 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000883/0.04166, allocations: 0.6285 MB / 0.5799 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.04167, allocations: 8 kB / 0.5799 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001305/0.04297, allocations: 0.656 MB / 0.5806 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.043, allocations: 8 kB / 0.5806 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.04301, allocations: 8 kB / 0.5806 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.04359, allocations: 146.5 kB / 0.5807 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.04406, allocations: 123.8 kB / 0.5808 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/0.04899, allocations: 5.318 MB / 0.586 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.04935, allocations: 31.97 kB / 0.5861 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.0494, allocations: 28 kB / 0.5861 GB, free: 14.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002675/0.04967, allocations: 220.6 kB / 0.5863 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.04978, allocations: 71.62 kB / 0.5864 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009472/0.05073, allocations: 401 kB / 0.5867 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.05074, allocations: 11.92 kB / 0.5868 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.05075, allocations: 3.938 kB / 0.5868 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.05075, allocations: 0 / 0.5868 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.05254, allocations: 1.001 MB / 0.5877 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.05255, allocations: 4 kB / 0.5877 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.05283, allocations: 55.89 kB / 0.5878 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.05327, allocations: 130.6 kB / 0.5879 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.0533, allocations: 8 kB / 0.5879 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/0.05806, allocations: 5.314 MB / 0.5931 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.05806, allocations: 0 / 0.5931 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.05906, allocations: 0.5976 MB / 0.5937 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.05929, allocations: 87.72 kB / 0.5938 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.05935, allocations: 12 kB / 0.5938 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.05961, allocations: 23.97 kB / 0.5938 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.0597, allocations: 39.81 kB / 0.5939 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.05972, allocations: 8 kB / 0.5939 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004313/0.06015, allocations: 358.8 kB / 0.5942 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.06015, allocations: 0 / 0.5942 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006484/0.0608, allocations: 144 kB / 0.5943 GB, free: 5.871 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.06097, allocations: 111.2 kB / 0.5944 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.06241, allocations: 0.89 MB / 0.5953 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.06242, allocations: 0 / 0.5953 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.06346, allocations: 0.6689 MB / 0.596 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.06446, allocations: 194.3 kB / 0.5962 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.06621, allocations: 0.9956 MB / 0.5971 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.06657, allocations: 299.4 kB / 0.5974 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002807/0.06685, allocations: 101 kB / 0.5975 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.06696, allocations: 36.5 kB / 0.5975 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.06696, allocations: 0 / 0.5975 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of Templates: time 0.1911/0.2581, allocations: 7.819 MB / 0.6052 GB, free: 97.89 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.328934354940429]