Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1962/0.1984, allocations: 80.85 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005902/0.2043, allocations: 4.266 MB / 0.6748 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004652/0.209, allocations: 2.934 MB / 0.6777 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.2093, allocations: 11.94 kB / 0.6777 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.2106, allocations: 370.3 kB / 0.678 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.2117, allocations: 458 kB / 0.6785 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.2131, allocations: 0.5138 MB / 0.679 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008279/0.2139, allocations: 0.7085 MB / 0.6797 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.2145, allocations: 359.5 kB / 0.68 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.2148, allocations: 279 kB / 0.6803 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.2154, allocations: 370.7 kB / 0.6806 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.2155, allocations: 40 kB / 0.6807 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.216, allocations: 311.3 kB / 0.681 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.2162, allocations: 195.5 kB / 0.6811 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.2164, allocations: 250.7 kB / 0.6814 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.2172, allocations: 0.7319 MB / 0.6821 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.2172, allocations: 4 kB / 0.6821 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2172, allocations: 0 / 0.6821 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.2173, allocations: 0 / 0.6821 GB, free: 6.215 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00166/0.2189, allocations: 0.8184 MB / 0.6829 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.219, allocations: 16.03 kB / 0.6829 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009249/0.2199, allocations: 148.1 kB / 0.6831 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.2205, allocations: 383 kB / 0.6834 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.2205, allocations: 25.38 kB / 0.6834 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.2206, allocations: 44.36 kB / 0.6835 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.2219, allocations: 0.8246 MB / 0.6843 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.2219, allocations: 4 kB / 0.6843 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.222, allocations: 19.98 kB / 0.6843 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.841e-05/0.2221, allocations: 68.89 kB / 0.6844 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.2233, allocations: 0.6671 MB / 0.685 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.2272, allocations: 3.947 MB / 0.6889 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2284, allocations: 0.6025 MB / 0.6895 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.229, allocations: 309.4 kB / 0.6898 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.229, allocations: 7.938 kB / 0.6898 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2291, allocations: 38.5 kB / 0.6898 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.725e-06/0.2291, allocations: 0 / 0.6898 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.001982/0.2311, allocations: 0.9493 MB / 0.6907 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.2311, allocations: 85.09 kB / 0.6908 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.2315, allocations: 349.7 kB / 0.6912 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2315, allocations: 37.7 kB / 0.6912 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2317, allocations: 279.2 kB / 0.6915 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2318, allocations: 134.1 kB / 0.6916 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.232, allocations: 114 kB / 0.6917 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2321, allocations: 346.8 kB / 0.692 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.2326, allocations: 282.9 kB / 0.6923 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.2334, allocations: 480 kB / 0.6927 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.2346, allocations: 0.7867 MB / 0.6935 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2346, allocations: 0 / 0.6935 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00139/0.236, allocations: 0.8009 MB / 0.6943 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.2361, allocations: 16.14 kB / 0.6943 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.2361, allocations: 8 kB / 0.6943 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.2361, allocations: 8 kB / 0.6943 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.2369, allocations: 167.7 kB / 0.6945 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.2369, allocations: 11.94 kB / 0.6945 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.2374, allocations: 79.64 kB / 0.6946 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.2374, allocations: 27.98 kB / 0.6946 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006143/0.238, allocations: 369 kB / 0.695 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005679/0.2386, allocations: 439.7 kB / 0.6954 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.2397, allocations: 0.6885 MB / 0.696 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.491e-06/0.2397, allocations: 4 kB / 0.6961 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001226/0.2409, allocations: 0.6846 MB / 0.6967 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.241, allocations: 8 kB / 0.6967 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.241, allocations: 8 kB / 0.6967 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.241, allocations: 8.75 kB / 0.6967 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.2416, allocations: 159.8 kB / 0.6969 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.2416, allocations: 11.94 kB / 0.6969 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.242, allocations: 63.7 kB / 0.697 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.2421, allocations: 31.98 kB / 0.697 GB, free: 6.035 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.2423, allocations: 216 kB / 0.6972 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2424, allocations: 43.47 kB / 0.6972 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.2437, allocations: 0.65 MB / 0.6979 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2437, allocations: 4 kB / 0.6979 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2437, allocations: 3.938 kB / 0.6979 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2437, allocations: 3.984 kB / 0.6979 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.246, allocations: 1.463 MB / 0.6993 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.246, allocations: 0 / 0.6993 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.2468, allocations: 139.8 kB / 0.6995 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2468, allocations: 7.938 kB / 0.6995 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.2469, allocations: 12 kB / 0.6995 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.2469, allocations: 7.984 kB / 0.6995 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2469, allocations: 7.938 kB / 0.6995 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.2482, allocations: 0.8031 MB / 0.7003 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.2485, allocations: 168.4 kB / 0.7004 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.2486, allocations: 15.94 kB / 0.7004 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.249, allocations: 51.92 kB / 0.7005 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.2492, allocations: 39.89 kB / 0.7005 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.2493, allocations: 15.94 kB / 0.7006 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003471/0.2496, allocations: 251.2 kB / 0.7008 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2496, allocations: 0 / 0.7008 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001114/0.2507, allocations: 192 kB / 0.701 GB, free: 1.82 MB / 0.5294 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.251, allocations: 111.1 kB / 0.7011 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.2533, allocations: 0.9773 MB / 0.702 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2533, allocations: 1.5 kB / 0.702 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.2539, allocations: 304 kB / 0.7023 GB, free: 440 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.2547, allocations: 120.7 kB / 0.7024 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.2579, allocations: 1.347 MB / 0.7038 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.2584, allocations: 0.8793 MB / 0.7046 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005564/0.259, allocations: 216 kB / 0.7048 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.2592, allocations: 43.42 kB / 0.7049 GB, free: 13.75 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2592, allocations: 0 / 0.7049 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Templates: time 0.01216/0.2714, allocations: 6.777 MB / 0.7115 GB, free: 7.043 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)