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.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.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006344/0.006344, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001191/0.001191, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 282.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 87.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1571, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005504/0.1627, allocations: 4.841 MB / 0.7711 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003712/0.1664, allocations: 2.444 MB / 0.7735 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.1667, allocations: 23.81 kB / 0.7735 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.1678, allocations: 405.9 kB / 0.7739 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008231/0.1686, allocations: 449.6 kB / 0.7743 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3167/0.4853, allocations: 366.5 kB / 0.7747 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.4867, allocations: 0.9158 MB / 0.7756 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007319/0.4875, allocations: 350.3 kB / 0.7759 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.488, allocations: 341.5 kB / 0.7762 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.4884, allocations: 351.4 kB / 0.7766 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.771e-05/0.4885, allocations: 37 kB / 0.7766 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.4893, allocations: 405.9 kB / 0.777 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.4895, allocations: 179.4 kB / 0.7772 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.4898, allocations: 320.5 kB / 0.7775 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.4908, allocations: 0.8807 MB / 0.7783 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4908, allocations: 0 / 0.7783 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4908, allocations: 1.312 kB / 0.7783 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.4908, allocations: 0.6562 kB / 0.7783 GB, free: 8.742 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001166/0.492, allocations: 0.9595 MB / 0.7793 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.492, allocations: 8.156 kB / 0.7793 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.4932, allocations: 213.2 kB / 0.7795 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/0.4939, allocations: 0.5351 MB / 0.78 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.4939, allocations: 36.66 kB / 0.78 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.494, allocations: 45.42 kB / 0.7801 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.4949, allocations: 0.8447 MB / 0.7809 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.4949, allocations: 10.75 kB / 0.7809 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.495, allocations: 26.16 kB / 0.781 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/0.495, allocations: 61.67 kB / 0.781 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.4958, allocations: 0.5741 MB / 0.7816 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.499, allocations: 5.64 MB / 0.7871 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.4996, allocations: 460.2 kB / 0.7875 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.4999, allocations: 232.3 kB / 0.7877 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.5, allocations: 4.312 kB / 0.7877 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.5, allocations: 33.72 kB / 0.7878 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.353e-06/0.5, allocations: 0 / 0.7878 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002261/0.5023, allocations: 1.513 MB / 0.7893 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.5023, allocations: 58.25 kB / 0.7893 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.5027, allocations: 0.4934 MB / 0.7898 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.5028, allocations: 31.14 kB / 0.7898 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.503, allocations: 365.3 kB / 0.7902 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.503, allocations: 121.2 kB / 0.7903 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5032, allocations: 112.8 kB / 0.7904 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5033, allocations: 359.2 kB / 0.7907 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.5036, allocations: 200.9 kB / 0.7909 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.5039, allocations: 453.9 kB / 0.7914 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.5045, allocations: 0.6913 MB / 0.792 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5045, allocations: 2.625 kB / 0.792 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001096/0.5056, allocations: 0.8112 MB / 0.7928 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5056, allocations: 11.59 kB / 0.7928 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5056, allocations: 10.44 kB / 0.7928 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/0.5061, allocations: 149.3 kB / 0.793 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.5065, allocations: 128.9 kB / 0.7931 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.5095, allocations: 4.345 MB / 0.7974 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.5098, allocations: 35.3 kB / 0.7974 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.5099, allocations: 30.47 kB / 0.7974 GB, free: 10.62 MB / 0.5762 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.0002134/0.5101, allocations: 214.2 kB / 0.7976 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.5102, allocations: 63.48 kB / 0.7977 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000899/0.5111, allocations: 0.5976 MB / 0.7983 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5111, allocations: 9.344 kB / 0.7983 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5111, allocations: 0 / 0.7983 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5111, allocations: 1.875 kB / 0.7983 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.5128, allocations: 1.262 MB / 0.7995 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5128, allocations: 7.812 kB / 0.7995 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.513, allocations: 55 kB / 0.7996 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/0.5134, allocations: 141.8 kB / 0.7997 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.5135, allocations: 9.25 kB / 0.7997 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.5165, allocations: 4.342 MB / 0.804 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5165, allocations: 1.844 kB / 0.804 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.5175, allocations: 0.7124 MB / 0.8047 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.5177, allocations: 177.1 kB / 0.8048 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.5177, allocations: 8.797 kB / 0.8048 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.518, allocations: 22.03 kB / 0.8049 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.5181, allocations: 36.16 kB / 0.8049 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.5181, allocations: 11.44 kB / 0.8049 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00038/0.5185, allocations: 331.3 kB / 0.8052 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5185, allocations: 0 / 0.8052 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006323/0.5191, allocations: 145.9 kB / 0.8054 GB, free: 4.324 MB / 0.5762 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.0001336/0.5193, allocations: 112.5 kB / 0.8055 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.5207, allocations: 1.031 MB / 0.8065 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5207, allocations: 1.219 kB / 0.8065 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.5215, allocations: 0.7336 MB / 0.8072 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.5225, allocations: 209.7 kB / 0.8074 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.5244, allocations: 1.055 MB / 0.8084 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.5251, allocations: 0.9019 MB / 0.8093 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004609/0.5255, allocations: 118.1 kB / 0.8094 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.5257, allocations: 42.69 kB / 0.8094 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5257, allocations: 0 / 0.8094 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of Templates: time 0.01503/0.5407, allocations: 7.692 MB / 0.817 GB, free: 0.7617 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)