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.005186/0.005186, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.001249/0.001249, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 290.2 kB / 290.8 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.94/0.94, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 99.83 kB / 0.6814 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4003, allocations: 86.99 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006354/0.4067, allocations: 4.84 MB / 0.7711 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003916/0.4107, allocations: 2.452 MB / 0.7735 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.4111, allocations: 27.81 kB / 0.7735 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.4124, allocations: 397.9 kB / 0.7739 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.4135, allocations: 473.6 kB / 0.7744 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.4144, allocations: 370 kB / 0.7747 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.4155, allocations: 0.9173 MB / 0.7756 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.4161, allocations: 358.8 kB / 0.776 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.4166, allocations: 346.6 kB / 0.7763 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.4171, allocations: 350.5 kB / 0.7766 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/0.4172, allocations: 36 kB / 0.7767 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.4179, allocations: 395.1 kB / 0.777 GB, free: 9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.4182, allocations: 183.4 kB / 0.7772 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.4185, allocations: 322.2 kB / 0.7775 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.4195, allocations: 0.8862 MB / 0.7784 GB, free: 7.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4195, allocations: 0 / 0.7784 GB, free: 7.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4195, allocations: 0 / 0.7784 GB, free: 7.617 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.4195, allocations: 0 / 0.7784 GB, free: 7.617 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.001239/0.4208, allocations: 0.9308 MB / 0.7793 GB, free: 6.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4208, allocations: 8.031 kB / 0.7793 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.422, allocations: 207.8 kB / 0.7795 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.4228, allocations: 0.5333 MB / 0.78 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4228, allocations: 33.36 kB / 0.7801 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.4229, allocations: 48.36 kB / 0.7801 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009895/0.4239, allocations: 0.8485 MB / 0.7809 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.4239, allocations: 7.938 kB / 0.7809 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.424, allocations: 24 kB / 0.781 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.374e-05/0.424, allocations: 64.95 kB / 0.781 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/0.4248, allocations: 0.5656 MB / 0.7816 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.4289, allocations: 5.654 MB / 0.7871 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.4295, allocations: 454.3 kB / 0.7875 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.4298, allocations: 228.7 kB / 0.7877 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.4299, allocations: 4 kB / 0.7877 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4299, allocations: 38.5 kB / 0.7878 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.4299, allocations: 4 kB / 0.7878 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002362/0.4323, allocations: 1.502 MB / 0.7893 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.4323, allocations: 59.69 kB / 0.7893 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.4328, allocations: 495 kB / 0.7898 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4328, allocations: 29.7 kB / 0.7898 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.433, allocations: 354.8 kB / 0.7902 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.4331, allocations: 126.2 kB / 0.7903 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.4333, allocations: 114.2 kB / 0.7904 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4334, allocations: 370.7 kB / 0.7907 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.4337, allocations: 193.2 kB / 0.7909 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.4341, allocations: 451 kB / 0.7913 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.4349, allocations: 0.6921 MB / 0.792 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4349, allocations: 0 / 0.792 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001179/0.4361, allocations: 0.8088 MB / 0.7928 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4361, allocations: 8.938 kB / 0.7928 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4361, allocations: 8 kB / 0.7928 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004638/0.4366, allocations: 160.1 kB / 0.793 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.437, allocations: 123.7 kB / 0.7931 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.4401, allocations: 4.34 MB / 0.7973 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.4405, allocations: 40.12 kB / 0.7974 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.4405, allocations: 28 kB / 0.7974 GB, free: 2.645 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.0002326/0.4408, allocations: 214.3 kB / 0.7976 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.4408, allocations: 63.25 kB / 0.7977 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009664/0.4418, allocations: 0.5969 MB / 0.7983 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4418, allocations: 4 kB / 0.7983 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4418, allocations: 4 kB / 0.7983 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4419, allocations: 3.984 kB / 0.7983 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.4435, allocations: 1.253 MB / 0.7995 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4435, allocations: 4 kB / 0.7995 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4438, allocations: 55.89 kB / 0.7995 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.4442, allocations: 144.3 kB / 0.7997 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.4442, allocations: 11.94 kB / 0.7997 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.4472, allocations: 4.332 MB / 0.8039 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4472, allocations: 0 / 0.8039 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009213/0.4482, allocations: 0.7199 MB / 0.8046 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.4484, allocations: 160.4 kB / 0.8048 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.4484, allocations: 8 kB / 0.8048 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.4487, allocations: 23.97 kB / 0.8048 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.4487, allocations: 35.83 kB / 0.8048 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4488, allocations: 12 kB / 0.8049 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003264/0.4491, allocations: 330.9 kB / 0.8052 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4491, allocations: 0 / 0.8052 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005853/0.4497, allocations: 144 kB / 0.8053 GB, free: 9.914 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.0001404/0.4498, allocations: 111.9 kB / 0.8054 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.4512, allocations: 1.04 MB / 0.8064 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4512, allocations: 0 / 0.8064 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007659/0.452, allocations: 0.7308 MB / 0.8071 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008811/0.4529, allocations: 204.4 kB / 0.8073 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.4542, allocations: 1.035 MB / 0.8084 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.4547, allocations: 0.9058 MB / 0.8092 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.455, allocations: 121.3 kB / 0.8094 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.4551, allocations: 35.44 kB / 0.8094 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.4551, allocations: 0 / 0.8094 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of Templates: time 0.01237/0.4674, allocations: 7.699 MB / 0.8169 GB, free: 13.89 MB / 0.5919 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)