Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 112 kB / 16.42 MB, free: 6.496 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.001419/0.001419, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 293.3 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 0.9812/0.9812, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4222, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005048/0.4272, allocations: 3.738 MB / 0.7707 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.4299, allocations: 1.797 MB / 0.7725 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.43, allocations: 15.88 kB / 0.7725 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007593/0.4308, allocations: 266.6 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.4313, allocations: 298.5 kB / 0.773 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.4318, allocations: 245.5 kB / 0.7732 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.4323, allocations: 0.6049 MB / 0.7738 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.4327, allocations: 262.2 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.433, allocations: 235.1 kB / 0.7743 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.4333, allocations: 235 kB / 0.7745 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.4333, allocations: 28 kB / 0.7746 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.4337, allocations: 275.4 kB / 0.7748 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.4338, allocations: 127.6 kB / 0.7749 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.434, allocations: 206.9 kB / 0.7751 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.4346, allocations: 0.5865 MB / 0.7757 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4346, allocations: 4 kB / 0.7757 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4346, allocations: 0 / 0.7757 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4346, allocations: 0 / 0.7757 GB, free: 11.02 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009761/0.4356, allocations: 0.7362 MB / 0.7764 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.4356, allocations: 12.03 kB / 0.7765 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000846/0.4365, allocations: 132.2 kB / 0.7766 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.4369, allocations: 407.6 kB / 0.777 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.437, allocations: 25.02 kB / 0.777 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.437, allocations: 24.38 kB / 0.777 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007582/0.4378, allocations: 0.5597 MB / 0.7776 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4378, allocations: 0 / 0.7776 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.4378, allocations: 19.98 kB / 0.7776 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.4379, allocations: 40.53 kB / 0.7776 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.4386, allocations: 409.7 kB / 0.778 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.4412, allocations: 3.33 MB / 0.7813 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.4418, allocations: 334.5 kB / 0.7816 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.4421, allocations: 180.8 kB / 0.7818 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.4422, allocations: 0 / 0.7818 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4422, allocations: 38.5 kB / 0.7818 GB, free: 4.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.082e-06/0.4422, allocations: 0 / 0.7818 GB, free: 4.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001859/0.4441, allocations: 1.07 MB / 0.7828 GB, free: 3.238 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.4441, allocations: 55.64 kB / 0.7829 GB, free: 3.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.4444, allocations: 337.5 kB / 0.7832 GB, free: 2.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4444, allocations: 29.7 kB / 0.7832 GB, free: 2.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.4446, allocations: 255.5 kB / 0.7835 GB, free: 2.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.4447, allocations: 90.66 kB / 0.7836 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4448, allocations: 82.03 kB / 0.7836 GB, free: 2.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.4449, allocations: 346.8 kB / 0.784 GB, free: 2.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.4452, allocations: 144.8 kB / 0.7841 GB, free: 1.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.4455, allocations: 294.5 kB / 0.7844 GB, free: 1.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/0.4462, allocations: 486 kB / 0.7849 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4462, allocations: 0 / 0.7849 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009386/0.4471, allocations: 0.5538 MB / 0.7854 GB, free: 432 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4472, allocations: 12.61 kB / 0.7854 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4472, allocations: 8 kB / 0.7854 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.4474, allocations: 90.45 kB / 0.7855 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.4478, allocations: 83.88 kB / 0.7856 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4478, allocations: 11.94 kB / 0.7856 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.4481, allocations: 31.91 kB / 0.7856 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.4481, allocations: 20 kB / 0.7856 GB, free: 164 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(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.000177/0.4483, allocations: 174.6 kB / 0.7858 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.4483, allocations: 39.53 kB / 0.7859 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.4492, allocations: 466.3 kB / 0.7863 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4492, allocations: 0 / 0.7863 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4492, allocations: 4 kB / 0.7863 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4494, allocations: 136.6 kB / 0.7864 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.4494, allocations: 8 kB / 0.7864 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4497, allocations: 31.84 kB / 0.7865 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.4497, allocations: 23.97 kB / 0.7865 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001061/0.4508, allocations: 0.5231 MB / 0.787 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009077/0.4517, allocations: 0.6956 MB / 0.7877 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002528/0.452, allocations: 156.2 kB / 0.7878 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002048/0.4522, allocations: 235.2 kB / 0.7881 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of Backend: time 3.1e-07/0.4522, allocations: 0 / 0.7881 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.4535, allocations: 0.7312 MB / 0.7888 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001355/0.4548, allocations: 1.207 MB / 0.7899 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.01063/0.4655, allocations: 6.556 MB / 0.7963 GB, free: 5.074 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)