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.001169/0.001169, allocations: 115.2 kB / 16.42 MB, free: 6.488 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.001335/0.001335, allocations: 185.7 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.35/1.35, 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.002124/0.002124, allocations: 286.1 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.9615/0.9615, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 87.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4279, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006152/0.4341, allocations: 4.851 MB / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003811/0.4379, allocations: 2.456 MB / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.4383, allocations: 23.81 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.4395, allocations: 401.4 kB / 0.7746 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.4405, allocations: 441.7 kB / 0.775 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000842/0.4414, allocations: 371.2 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.4425, allocations: 0.9173 MB / 0.7763 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/0.443, allocations: 354.8 kB / 0.7766 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.4435, allocations: 346.6 kB / 0.7769 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.4441, allocations: 342.5 kB / 0.7773 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.4441, allocations: 40 kB / 0.7773 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006535/0.4448, allocations: 399.1 kB / 0.7777 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.445, allocations: 187.4 kB / 0.7779 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.4453, allocations: 326.2 kB / 0.7782 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009813/0.4463, allocations: 0.8785 MB / 0.779 GB, free: 7.598 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4463, allocations: 0 / 0.779 GB, free: 7.598 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4463, allocations: 0 / 0.779 GB, free: 7.598 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.4464, allocations: 0 / 0.779 GB, free: 7.598 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001353/0.4477, allocations: 0.9308 MB / 0.7799 GB, free: 6.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4478, allocations: 8.031 kB / 0.7799 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.4491, allocations: 203.8 kB / 0.7801 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.4498, allocations: 0.5334 MB / 0.7807 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.4498, allocations: 33.38 kB / 0.7807 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.4499, allocations: 52.3 kB / 0.7807 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.451, allocations: 0.8523 MB / 0.7816 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.451, allocations: 11.94 kB / 0.7816 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.4511, allocations: 23.98 kB / 0.7816 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.912e-05/0.4512, allocations: 60.95 kB / 0.7817 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/0.452, allocations: 0.5656 MB / 0.7822 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.4562, allocations: 5.658 MB / 0.7877 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.4569, allocations: 455.9 kB / 0.7882 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.4572, allocations: 228.7 kB / 0.7884 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.4572, allocations: 4 kB / 0.7884 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4572, allocations: 34.56 kB / 0.7884 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.4573, allocations: 4 kB / 0.7884 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002491/0.4597, allocations: 1.502 MB / 0.7899 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.4598, allocations: 59.69 kB / 0.79 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.4603, allocations: 491 kB / 0.7904 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4603, allocations: 33.7 kB / 0.7905 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.4605, allocations: 354.8 kB / 0.7908 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.4606, allocations: 122.2 kB / 0.7909 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.4608, allocations: 110.2 kB / 0.791 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4609, allocations: 366.8 kB / 0.7914 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.4612, allocations: 193.2 kB / 0.7916 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.4616, allocations: 455 kB / 0.792 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007644/0.4624, allocations: 0.6915 MB / 0.7927 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4624, allocations: 8 kB / 0.7927 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00123/0.4636, allocations: 0.798 MB / 0.7934 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4637, allocations: 14.66 kB / 0.7935 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4637, allocations: 8 kB / 0.7935 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.4642, allocations: 152.2 kB / 0.7936 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.4646, allocations: 127.7 kB / 0.7937 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.4679, allocations: 4.351 MB / 0.798 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.4683, allocations: 35.97 kB / 0.798 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.4684, allocations: 31.94 kB / 0.798 GB, free: 2.621 MB / 0.5606 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.000234/0.4686, allocations: 206.4 kB / 0.7982 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/0.4687, allocations: 63.23 kB / 0.7983 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4697, allocations: 0.6047 MB / 0.7989 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4697, allocations: 0 / 0.7989 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4698, allocations: 0 / 0.7989 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.4699, allocations: 160.4 kB / 0.799 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.47, allocations: 7.906 kB / 0.7991 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.4703, allocations: 19.97 kB / 0.7991 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.4703, allocations: 35.83 kB / 0.7991 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001264/0.4716, allocations: 0.6652 MB / 0.7998 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008945/0.4725, allocations: 0.8255 MB / 0.8006 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002333/0.4728, allocations: 184.3 kB / 0.8007 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000317/0.4731, allocations: 334.9 kB / 0.8011 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of Backend: time 4.91e-07/0.4731, allocations: 4 kB / 0.8011 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.475, allocations: 1.148 MB / 0.8022 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002/0.477, allocations: 1.566 MB / 0.8037 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.0164/0.4934, allocations: 9.929 MB / 0.8134 GB, free: 2.758 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)