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.001075/0.001075, allocations: 118.5 kB / 16.42 MB, free: 6.5 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.001156/0.001156, allocations: 183.9 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.333/1.333, allocations: 222.9 MB / 241 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.002208/0.002208, allocations: 287.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9658/0.9658, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4744, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005673/0.4801, allocations: 3.741 MB / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.4831, allocations: 1.785 MB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.4835, allocations: 19.88 kB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009628/0.4845, allocations: 270.5 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008837/0.4854, allocations: 306.5 kB / 0.773 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.486, allocations: 249.5 kB / 0.7733 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.4868, allocations: 0.6127 MB / 0.7739 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.4873, allocations: 258.2 kB / 0.7741 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.4878, allocations: 235.1 kB / 0.7743 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.4882, allocations: 239 kB / 0.7746 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.4883, allocations: 28 kB / 0.7746 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000521/0.4888, allocations: 271.4 kB / 0.7748 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.489, allocations: 123.6 kB / 0.775 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.4892, allocations: 210.9 kB / 0.7752 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.4899, allocations: 0.5904 MB / 0.7757 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.49, allocations: 0 / 0.7757 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.714e-06/0.49, allocations: 0 / 0.7757 GB, free: 11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.49, allocations: 0 / 0.7757 GB, free: 11 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.001271/0.4913, allocations: 0.7401 MB / 0.7765 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4913, allocations: 8.031 kB / 0.7765 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009771/0.4923, allocations: 128.2 kB / 0.7766 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.4929, allocations: 411.6 kB / 0.777 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.493, allocations: 25.02 kB / 0.777 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.493, allocations: 28.38 kB / 0.777 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008221/0.4939, allocations: 0.5549 MB / 0.7776 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.4939, allocations: 4 kB / 0.7776 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.4939, allocations: 15.98 kB / 0.7776 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.494, allocations: 40.53 kB / 0.7776 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.4947, allocations: 409.7 kB / 0.778 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.4978, allocations: 3.33 MB / 0.7813 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.4985, allocations: 336.9 kB / 0.7816 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.4988, allocations: 172.8 kB / 0.7818 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.4989, allocations: 7.938 kB / 0.7818 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.4989, allocations: 38.5 kB / 0.7818 GB, free: 4.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/0.4989, allocations: 0 / 0.7818 GB, free: 4.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.002108/0.501, allocations: 1.066 MB / 0.7828 GB, free: 3.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5011, allocations: 59.62 kB / 0.7829 GB, free: 3.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.5015, allocations: 345.5 kB / 0.7832 GB, free: 2.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.5015, allocations: 33.7 kB / 0.7833 GB, free: 2.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5017, allocations: 243.5 kB / 0.7835 GB, free: 2.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.5017, allocations: 90.66 kB / 0.7836 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5019, allocations: 85.97 kB / 0.7837 GB, free: 2.352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.502, allocations: 342.8 kB / 0.784 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.5023, allocations: 152.8 kB / 0.7841 GB, free: 1.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.5027, allocations: 295.2 kB / 0.7844 GB, free: 1.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/0.5034, allocations: 482.2 kB / 0.7849 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5034, allocations: 4 kB / 0.7849 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001017/0.5044, allocations: 0.5601 MB / 0.7854 GB, free: 404 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.5044, allocations: 8 kB / 0.7854 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5044, allocations: 7.984 kB / 0.7854 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.5048, allocations: 86.45 kB / 0.7855 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.5052, allocations: 87.88 kB / 0.7856 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.5052, allocations: 11.94 kB / 0.7856 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.5055, allocations: 36 kB / 0.7857 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.5055, allocations: 16 kB / 0.7857 GB, free: 140 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.0002279/0.5058, allocations: 177.7 kB / 0.7858 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.5059, allocations: 39.53 kB / 0.7859 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/0.5068, allocations: 466.3 kB / 0.7863 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5068, allocations: 0 / 0.7863 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5068, allocations: 0 / 0.7863 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.507, allocations: 140.6 kB / 0.7865 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.5071, allocations: 7.938 kB / 0.7865 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.5073, allocations: 19.97 kB / 0.7865 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.5074, allocations: 23.97 kB / 0.7865 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001163/0.5086, allocations: 0.5264 MB / 0.787 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009847/0.5096, allocations: 0.6917 MB / 0.7877 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002666/0.5098, allocations: 152.2 kB / 0.7878 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002364/0.5101, allocations: 235.2 kB / 0.7881 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Backend: time 4.01e-07/0.5101, allocations: 0 / 0.7881 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.5115, allocations: 0.7303 MB / 0.7888 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001784/0.5133, allocations: 1.213 MB / 0.79 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.01296/0.5263, allocations: 6.562 MB / 0.7964 GB, free: 5.047 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)