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.00153/0.00153, allocations: 113.8 kB / 16.42 MB, free: 6.465 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.001772/0.001772, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 278.5 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.046/1.046, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 103.8 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4475, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006469/0.454, allocations: 4.836 MB / 0.7718 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004201/0.4583, allocations: 2.452 MB / 0.7742 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.4588, allocations: 23.81 kB / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.4601, allocations: 408.4 kB / 0.7746 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.4614, allocations: 465.6 kB / 0.775 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.4624, allocations: 369.3 kB / 0.7754 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.4638, allocations: 0.9251 MB / 0.7763 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.4645, allocations: 350.8 kB / 0.7766 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006988/0.4652, allocations: 350.6 kB / 0.777 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000587/0.4658, allocations: 338.5 kB / 0.7773 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.466, allocations: 43.98 kB / 0.7773 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.4667, allocations: 395.1 kB / 0.7777 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.467, allocations: 183.5 kB / 0.7779 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003645/0.4673, allocations: 326.2 kB / 0.7782 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.4685, allocations: 0.8823 MB / 0.779 GB, free: 7.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4685, allocations: 0 / 0.779 GB, free: 7.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4685, allocations: 0 / 0.779 GB, free: 7.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.4685, allocations: 0 / 0.779 GB, free: 7.645 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.001637/0.4702, allocations: 0.9386 MB / 0.78 GB, free: 6.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4702, allocations: 8.031 kB / 0.78 GB, free: 6.648 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.4716, allocations: 203.8 kB / 0.7802 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008398/0.4724, allocations: 0.5295 MB / 0.7807 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.4725, allocations: 37.36 kB / 0.7807 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4726, allocations: 44.36 kB / 0.7808 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.4737, allocations: 0.8524 MB / 0.7816 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.4738, allocations: 11.92 kB / 0.7816 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.4738, allocations: 20 kB / 0.7816 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.4739, allocations: 64.95 kB / 0.7817 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.4748, allocations: 0.5695 MB / 0.7822 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/0.4802, allocations: 5.646 MB / 0.7878 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.4808, allocations: 463.9 kB / 0.7882 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.4812, allocations: 224.7 kB / 0.7884 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.4812, allocations: 4 kB / 0.7884 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4812, allocations: 34.56 kB / 0.7885 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.4813, allocations: 0 / 0.7885 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002741/0.484, allocations: 1.506 MB / 0.7899 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.484, allocations: 55.69 kB / 0.79 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006902/0.4847, allocations: 499 kB / 0.7905 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.4848, allocations: 33.7 kB / 0.7905 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.485, allocations: 354.8 kB / 0.7908 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4852, allocations: 126.2 kB / 0.7909 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.4853, allocations: 110.2 kB / 0.791 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.4856, allocations: 362.8 kB / 0.7914 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.4859, allocations: 193.2 kB / 0.7916 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.4864, allocations: 455 kB / 0.792 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.4872, allocations: 0.696 MB / 0.7927 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4872, allocations: 4 kB / 0.7927 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001343/0.4885, allocations: 0.8053 MB / 0.7935 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4886, allocations: 8 kB / 0.7935 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4886, allocations: 8 kB / 0.7935 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.4891, allocations: 156.6 kB / 0.7936 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.4896, allocations: 127.7 kB / 0.7938 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.4935, allocations: 4.34 MB / 0.798 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.4939, allocations: 35.95 kB / 0.798 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.4939, allocations: 35.97 kB / 0.7981 GB, free: 2.672 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.0002505/0.4942, allocations: 225.9 kB / 0.7983 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.4943, allocations: 59.25 kB / 0.7983 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.4954, allocations: 0.593 MB / 0.7989 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4954, allocations: 7.984 kB / 0.7989 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4954, allocations: 0 / 0.7989 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.4957, allocations: 160.4 kB / 0.7991 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.4957, allocations: 11.84 kB / 0.7991 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.496, allocations: 19.97 kB / 0.7991 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.4961, allocations: 35.84 kB / 0.7991 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001364/0.4975, allocations: 0.6691 MB / 0.7998 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001102/0.4986, allocations: 0.8139 MB / 0.8006 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002421/0.4988, allocations: 184.4 kB / 0.8008 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003372/0.4992, allocations: 334.8 kB / 0.8011 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of Backend: time 9.22e-07/0.4992, allocations: 0 / 0.8011 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.5013, allocations: 1.16 MB / 0.8022 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002399/0.5037, allocations: 1.567 MB / 0.8038 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.01803/0.5218, allocations: 9.935 MB / 0.8135 GB, free: 2.793 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)