Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.807/1.807, allocations: 287.4 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 190.7 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009763/0.000976, allocations: 93.06 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 15.66 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003376/0.2454, allocations: 3.258 MB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.248, allocations: 1.717 MB / 0.9842 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.2485, allocations: 15.88 kB / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.2488, allocations: 55.5 kB / 0.9842 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008391/0.2496, allocations: 234.7 kB / 0.9844 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.2502, allocations: 188.5 kB / 0.9846 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.2509, allocations: 0.6438 MB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.2515, allocations: 364.6 kB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.2519, allocations: 211 kB / 0.9858 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.2522, allocations: 211.1 kB / 0.986 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.2523, allocations: 16 kB / 0.986 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.2526, allocations: 131.8 kB / 0.9861 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2528, allocations: 103.7 kB / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2529, allocations: 101.5 kB / 0.9863 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.2534, allocations: 431.2 kB / 0.9867 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2534, allocations: 0 / 0.9867 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2534, allocations: 0 / 0.9867 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.2535, allocations: 0 / 0.9867 GB, free: 20.46 MB / 0.6198 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.001012/0.2545, allocations: 0.6739 MB / 0.9874 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2545, allocations: 8.031 kB / 0.9874 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.2553, allocations: 136.2 kB / 0.9875 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.2558, allocations: 371.7 kB / 0.9879 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2558, allocations: 25.03 kB / 0.9879 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.2559, allocations: 32.27 kB / 0.988 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.2566, allocations: 0.5589 MB / 0.9885 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.2566, allocations: 7.938 kB / 0.9885 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.2566, allocations: 12 kB / 0.9885 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.2567, allocations: 40.53 kB / 0.9886 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.2573, allocations: 421.7 kB / 0.989 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.2595, allocations: 3.337 MB / 0.9922 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.26, allocations: 334.5 kB / 0.9925 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2603, allocations: 178.1 kB / 0.9927 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2603, allocations: 7.984 kB / 0.9927 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.2604, allocations: 42.5 kB / 0.9928 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.2604, allocations: 3.938 kB / 0.9928 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001762/0.2621, allocations: 1.075 MB / 0.9938 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.2622, allocations: 55.64 kB / 0.9939 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.2624, allocations: 341.5 kB / 0.9942 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2625, allocations: 29.7 kB / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2626, allocations: 247.5 kB / 0.9945 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.2626, allocations: 98.64 kB / 0.9945 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.2626, allocations: 4 kB / 0.9946 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.2627, allocations: 346.8 kB / 0.9949 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.263, allocations: 148.8 kB / 0.995 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.2632, allocations: 302.5 kB / 0.9953 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.2638, allocations: 490.7 kB / 0.9958 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2638, allocations: 4 kB / 0.9958 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007953/0.2646, allocations: 0.5661 MB / 0.9963 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2646, allocations: 8 kB / 0.9963 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2646, allocations: 8.031 kB / 0.9964 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.2649, allocations: 86.5 kB / 0.9964 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.2652, allocations: 91.81 kB / 0.9965 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.2653, allocations: 8 kB / 0.9965 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.2655, allocations: 43.84 kB / 0.9966 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.2656, allocations: 24 kB / 0.9966 GB, free: 9.684 MB / 0.6198 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.2657, allocations: 175.8 kB / 0.9968 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.2658, allocations: 39.53 kB / 0.9968 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.2665, allocations: 475.9 kB / 0.9973 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2665, allocations: 0 / 0.9973 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2665, allocations: 0 / 0.9973 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2667, allocations: 148.5 kB / 0.9974 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.2667, allocations: 7.984 kB / 0.9974 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2669, allocations: 27.97 kB / 0.9974 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.267, allocations: 15.97 kB / 0.9974 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009554/0.268, allocations: 0.5463 MB / 0.998 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007867/0.2688, allocations: 0.7017 MB / 0.9987 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002209/0.269, allocations: 163.9 kB / 0.9988 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001635/0.2692, allocations: 231.2 kB / 0.999 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of Backend: time 6.01e-07/0.2692, allocations: 0 / 0.999 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.2702, allocations: 0.6458 MB / 0.9997 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001274/0.2715, allocations: 1.346 MB / 1.001 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of Templates: time 0.009845/0.2813, allocations: 5.957 MB / 1.007 GB, free: 15.09 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)