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.005082/0.005082, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001186/0.001186, allocations: 192.8 kB / 16.67 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 286.9 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 99.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.162, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00632/0.1684, allocations: 4.85 MB / 0.7711 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004137/0.1725, allocations: 2.444 MB / 0.7735 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.1731, allocations: 23.81 kB / 0.7735 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1744, allocations: 409.9 kB / 0.7739 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1757, allocations: 469.7 kB / 0.7744 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3189/0.4945, allocations: 363.6 kB / 0.7747 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.4958, allocations: 0.9201 MB / 0.7756 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.4963, allocations: 356.8 kB / 0.7759 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.4967, allocations: 340.6 kB / 0.7763 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003878/0.4971, allocations: 353.9 kB / 0.7766 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.4971, allocations: 38.09 kB / 0.7766 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006804/0.4978, allocations: 401.3 kB / 0.777 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.498, allocations: 178.1 kB / 0.7772 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.4983, allocations: 317.9 kB / 0.7775 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.4992, allocations: 0.8809 MB / 0.7784 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4992, allocations: 1.125 kB / 0.7784 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4992, allocations: 2.219 kB / 0.7784 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.4992, allocations: 0 / 0.7784 GB, free: 9.367 MB / 0.5606 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.00115/0.5004, allocations: 0.9446 MB / 0.7793 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.5004, allocations: 9.219 kB / 0.7793 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.5017, allocations: 204 kB / 0.7795 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.5023, allocations: 0.5331 MB / 0.78 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.5023, allocations: 33.61 kB / 0.78 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.5024, allocations: 50.84 kB / 0.7801 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.5033, allocations: 0.8389 MB / 0.7809 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.5033, allocations: 11.28 kB / 0.7809 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.5034, allocations: 25.14 kB / 0.7809 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.903e-05/0.5035, allocations: 70.45 kB / 0.781 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.5042, allocations: 0.569 MB / 0.7816 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/0.5073, allocations: 5.632 MB / 0.7871 GB, free: 18.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.5079, allocations: 459.1 kB / 0.7875 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.5082, allocations: 233.1 kB / 0.7877 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.5082, allocations: 3.031 kB / 0.7877 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.5083, allocations: 34.48 kB / 0.7878 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.5083, allocations: 0 / 0.7878 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002317/0.5106, allocations: 1.507 MB / 0.7892 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.5106, allocations: 58.88 kB / 0.7893 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.5112, allocations: 0.4886 MB / 0.7898 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.5112, allocations: 33.58 kB / 0.7898 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.5115, allocations: 350.7 kB / 0.7901 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.5115, allocations: 123.7 kB / 0.7903 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.5117, allocations: 107.8 kB / 0.7904 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5119, allocations: 364.9 kB / 0.7907 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.5122, allocations: 195.8 kB / 0.7909 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.5127, allocations: 451.7 kB / 0.7913 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.5133, allocations: 0.6969 MB / 0.792 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5134, allocations: 2.875 kB / 0.792 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001216/0.5146, allocations: 0.8023 MB / 0.7928 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5146, allocations: 8.5 kB / 0.7928 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5146, allocations: 8.344 kB / 0.7928 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004765/0.5151, allocations: 156.9 kB / 0.793 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.5156, allocations: 126.2 kB / 0.7931 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.519, allocations: 4.348 MB / 0.7973 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.5194, allocations: 33.42 kB / 0.7974 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.5194, allocations: 26.33 kB / 0.7974 GB, free: 11.01 MB / 0.5762 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.0002748/0.5197, allocations: 226.9 kB / 0.7976 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.5198, allocations: 57.86 kB / 0.7976 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.5209, allocations: 0.5991 MB / 0.7982 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5209, allocations: 7.094 kB / 0.7982 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5209, allocations: 2.344 kB / 0.7982 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.5209, allocations: 2.062 kB / 0.7982 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.523, allocations: 1.266 MB / 0.7995 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.523, allocations: 5.859 kB / 0.7995 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.5232, allocations: 56.66 kB / 0.7995 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.5237, allocations: 143.8 kB / 0.7997 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.5237, allocations: 7.594 kB / 0.7997 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.527, allocations: 4.331 MB / 0.8039 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.527, allocations: 3.062 kB / 0.8039 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.528, allocations: 0.7062 MB / 0.8046 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.5282, allocations: 174.3 kB / 0.8048 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.5283, allocations: 9.031 kB / 0.8048 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.5285, allocations: 23.28 kB / 0.8048 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.5286, allocations: 31.23 kB / 0.8048 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.5286, allocations: 12.94 kB / 0.8048 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003584/0.529, allocations: 329.5 kB / 0.8052 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/0.529, allocations: 0 / 0.8052 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006223/0.5296, allocations: 145.8 kB / 0.8053 GB, free: 4.719 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.0001226/0.5297, allocations: 112.1 kB / 0.8054 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.5311, allocations: 1.043 MB / 0.8064 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5311, allocations: 0.625 kB / 0.8064 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.532, allocations: 0.7314 MB / 0.8071 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.5329, allocations: 206.1 kB / 0.8073 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.5346, allocations: 1.03 MB / 0.8083 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.5352, allocations: 0.9064 MB / 0.8092 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00037/0.5356, allocations: 119.5 kB / 0.8093 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.5357, allocations: 39.69 kB / 0.8094 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.5357, allocations: 0 / 0.8094 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.01444/0.5502, allocations: 7.702 MB / 0.8169 GB, free: 1.07 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)