Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009933/0.000993, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001081/0.001081, allocations: 193.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.33 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006238/0.2813, allocations: 4.883 MB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004258/0.2856, allocations: 2.503 MB / 0.7899 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.2861, allocations: 23.81 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.2872, allocations: 366.5 kB / 0.7903 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2883, allocations: 414 kB / 0.7907 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.2891, allocations: 342.4 kB / 0.791 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2902, allocations: 1.124 MB / 0.7921 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.2908, allocations: 355.5 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.2912, allocations: 302.6 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.2916, allocations: 346.5 kB / 0.793 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.2917, allocations: 24 kB / 0.7931 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008727/0.2925, allocations: 0.495 MB / 0.7935 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.2927, allocations: 175.5 kB / 0.7937 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.293, allocations: 298.3 kB / 0.794 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.294, allocations: 0.8914 MB / 0.7949 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2941, allocations: 3.938 kB / 0.7949 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2941, allocations: 0 / 0.7949 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2941, allocations: 0 / 0.7949 GB, free: 1.488 MB / 0.6075 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.001621/0.2957, allocations: 0.9424 MB / 0.7958 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2958, allocations: 8.031 kB / 0.7958 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.297, allocations: 199.9 kB / 0.796 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.2978, allocations: 494.2 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.2978, allocations: 37.36 kB / 0.7965 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.2979, allocations: 44.38 kB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.299, allocations: 0.8485 MB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.2991, allocations: 7.938 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.2991, allocations: 23.98 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-05/0.2992, allocations: 64.95 kB / 0.7975 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/0.3001, allocations: 0.5656 MB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.3048, allocations: 5.666 MB / 0.8035 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.3056, allocations: 450.3 kB / 0.804 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3059, allocations: 228.7 kB / 0.8042 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3059, allocations: 4 kB / 0.8042 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.306, allocations: 38.56 kB / 0.8042 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.306, allocations: 0 / 0.8042 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002844/0.3088, allocations: 1.509 MB / 0.8057 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.3089, allocations: 55.41 kB / 0.8058 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.3095, allocations: 495 kB / 0.8062 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3096, allocations: 33.7 kB / 0.8063 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.3098, allocations: 354.8 kB / 0.8066 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3099, allocations: 126.3 kB / 0.8067 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.3101, allocations: 110.2 kB / 0.8068 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3103, allocations: 362.8 kB / 0.8072 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.3106, allocations: 197.2 kB / 0.8074 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.3111, allocations: 450.8 kB / 0.8078 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.3119, allocations: 0.6808 MB / 0.8085 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3119, allocations: 4 kB / 0.8085 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001196/0.3131, allocations: 0.8138 MB / 0.8093 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3131, allocations: 11.94 kB / 0.8093 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3131, allocations: 12 kB / 0.8093 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.3136, allocations: 156.1 kB / 0.8094 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.3141, allocations: 123.8 kB / 0.8095 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.3176, allocations: 4.032 MB / 0.8135 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.3181, allocations: 31.97 kB / 0.8135 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.3182, allocations: 28 kB / 0.8135 GB, free: 12.89 MB / 0.6387 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.0002905/0.3185, allocations: 222.8 kB / 0.8138 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.3185, allocations: 59.34 kB / 0.8138 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009812/0.3195, allocations: 0.6005 MB / 0.8144 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3196, allocations: 8 kB / 0.8144 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3196, allocations: 8 kB / 0.8144 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.3196, allocations: 11.81 kB / 0.8144 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.3214, allocations: 1.255 MB / 0.8156 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3214, allocations: 0 / 0.8156 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.3216, allocations: 59.94 kB / 0.8157 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.322, allocations: 140.3 kB / 0.8158 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3221, allocations: 12 kB / 0.8159 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/0.325, allocations: 4.025 MB / 0.8198 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.325, allocations: 16.19 kB / 0.8198 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3261, allocations: 0.6998 MB / 0.8205 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.3264, allocations: 164.3 kB / 0.8206 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/0.3265, allocations: 11.94 kB / 0.8206 GB, free: 5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3267, allocations: 27.91 kB / 0.8207 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.3268, allocations: 31.95 kB / 0.8207 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3268, allocations: 12 kB / 0.8207 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00039/0.3272, allocations: 334.8 kB / 0.821 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3273, allocations: 0 / 0.821 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000674/0.3279, allocations: 140 kB / 0.8212 GB, free: 4.469 MB / 0.6387 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.00016/0.3281, allocations: 115.1 kB / 0.8213 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.3295, allocations: 1.033 MB / 0.8223 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3295, allocations: 0 / 0.8223 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.3303, allocations: 0.7463 MB / 0.823 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.3313, allocations: 192.8 kB / 0.8232 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.333, allocations: 1.238 MB / 0.8244 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.3335, allocations: 0.9058 MB / 0.8253 GB, free: 16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003638/0.3339, allocations: 117.3 kB / 0.8254 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.334, allocations: 39.44 kB / 0.8254 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.334, allocations: 0 / 0.8254 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.01425/0.3482, allocations: 7.329 MB / 0.8326 GB, free: 8.594 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)