Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 103.5 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 189.2 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 295.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 100.3 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4206, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01339/0.434, allocations: 10.1 MB / 0.7769 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006101/0.4401, allocations: 3.178 MB / 0.78 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007626/0.4409, allocations: 35.81 kB / 0.7801 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.4426, allocations: 0.6121 MB / 0.7807 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.4442, allocations: 0.7739 MB / 0.7814 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.4459, allocations: 0.7486 MB / 0.7821 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003364/0.4493, allocations: 2.992 MB / 0.7851 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.4517, allocations: 1.946 MB / 0.787 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.4535, allocations: 1.262 MB / 0.7882 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.4555, allocations: 1.562 MB / 0.7897 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.4559, allocations: 240 kB / 0.79 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.4569, allocations: 0.4994 MB / 0.7904 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.458, allocations: 1.103 MB / 0.7915 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4591, allocations: 1.109 MB / 0.7926 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003944/0.463, allocations: 3.705 MB / 0.7962 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4631, allocations: 4 kB / 0.7962 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4631, allocations: 0 / 0.7962 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.673e-05/0.4631, allocations: 4 kB / 0.7962 GB, free: 5.895 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00409/0.4672, allocations: 2.183 MB / 0.7984 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4672, allocations: 12.03 kB / 0.7984 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/0.4768, allocations: 1.322 MB / 0.7997 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.4796, allocations: 1.314 MB / 0.8009 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.4797, allocations: 111.4 kB / 0.801 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.48, allocations: 144.3 kB / 0.8012 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005609/0.4857, allocations: 3.445 MB / 0.8046 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.4857, allocations: 0 / 0.8046 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.4859, allocations: 63.97 kB / 0.8046 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002735/0.4862, allocations: 207.1 kB / 0.8048 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006089/0.4923, allocations: 3.131 MB / 0.8079 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.5133, allocations: 13.56 MB / 0.8211 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.516, allocations: 1.614 MB / 0.8227 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.5181, allocations: 1.335 MB / 0.824 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.5182, allocations: 16.98 kB / 0.824 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.5182, allocations: 43.56 kB / 0.824 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 2.955e-06/0.5182, allocations: 0 / 0.824 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1568/0.675, allocations: 36.56 MB / 0.8598 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.675, allocations: 69.41 kB / 0.8598 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.6765, allocations: 1.054 MB / 0.8608 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.6767, allocations: 53.7 kB / 0.8609 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.6774, allocations: 0.8132 MB / 0.8617 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006415/0.678, allocations: 0.6507 MB / 0.8623 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007589/0.6788, allocations: 363.5 kB / 0.8627 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6789, allocations: 305.1 kB / 0.863 GB, free: 244 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/0.6818, allocations: 1.936 MB / 0.8649 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003278/0.6851, allocations: 2.292 MB / 0.8671 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006198/0.6913, allocations: 4.395 MB / 0.8714 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6913, allocations: 0 / 0.8714 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02143/0.7127, allocations: 8.873 MB / 0.8801 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.7127, allocations: 14.44 kB / 0.8801 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.7128, allocations: 12 kB / 0.8801 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01796/0.7307, allocations: 4.972 MB / 0.8849 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/0.7317, allocations: 199.6 kB / 0.8851 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06309/0.7948, allocations: 38.92 MB / 0.9231 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.7968, allocations: 103.9 kB / 0.9232 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.797, allocations: 68 kB / 0.9233 GB, free: 1.594 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00136/0.7983, allocations: 0.8133 MB / 0.9241 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.7987, allocations: 143.1 kB / 0.9242 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02168/0.8203, allocations: 8.734 MB / 0.9328 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.8204, allocations: 20 kB / 0.9328 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.634e-05/0.8204, allocations: 28 kB / 0.9328 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/0.8204, allocations: 11.95 kB / 0.9328 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/0.8489, allocations: 13.26 MB / 0.9458 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.8489, allocations: 4 kB / 0.9458 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.8495, allocations: 119.8 kB / 0.9459 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01755/0.867, allocations: 4.838 MB / 0.9506 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.8673, allocations: 32 kB / 0.9506 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4018/1.269, allocations: 36.85 MB / 0.9866 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.269, allocations: 10.5 kB / 0.9866 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.287, allocations: 8.453 MB / 0.9949 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.288, allocations: 0.6405 MB / 0.9955 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/1.289, allocations: 35.98 kB / 0.9955 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.29, allocations: 94.73 kB / 0.9956 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008988/1.291, allocations: 162.5 kB / 0.9958 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.291, allocations: 44 kB / 0.9958 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000821/1.292, allocations: 0.7416 MB / 0.9966 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.292, allocations: 0 / 0.9966 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002962/1.295, allocations: 1.004 MB / 0.9975 GB, free: 149.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00032/1.295, allocations: 149.8 kB / 0.9977 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00829/1.303, allocations: 5.743 MB / 1.003 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.303, allocations: 0 / 1.003 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00689/1.31, allocations: 3.777 MB / 1.007 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.312, allocations: 241.7 kB / 1.007 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/1.318, allocations: 5.122 MB / 1.012 GB, free: 134.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.32, allocations: 1.859 MB / 1.014 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006878/1.32, allocations: 358.6 kB / 1.014 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/1.321, allocations: 64.73 kB / 1.014 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/1.321, allocations: 0 / 1.014 GB, free: 132.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.07365/1.394, allocations: 61.67 MB / 1.075 GB, free: 70.81 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)