Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 185.6 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.065/1.065, allocations: 221.4 MB / 229.3 MB, free: 3.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008627/0.0008628, allocations: 104.9 kB / 280.1 MB, free: 1.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3647/0.3647, allocations: 78.1 MB / 409 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1191/0.4838, allocations: 75.49 MB / 484.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.7319, allocations: 69.34 MB / 0.5408 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.8396, allocations: 104.5 MB / 0.6429 GB, free: 440 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.8398, allocations: 83.95 kB / 0.6429 GB, free: 356 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.2644/1.104, allocations: 37.64 MB / 0.6797 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/1.104, allocations: 6.562 kB / 0.6797 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/1.107, allocations: 0.5392 MB / 0.6802 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/1.108, allocations: 0.7939 MB / 0.681 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/1.108, allocations: 329.8 kB / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.109, allocations: 51.81 kB / 0.6814 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00146/1.11, allocations: 0.9112 MB / 0.6823 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/1.111, allocations: 0.8946 MB / 0.6831 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/1.111, allocations: 2.156 kB / 0.6831 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/1.111, allocations: 0 / 0.6831 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/1.111, allocations: 19.53 kB / 0.6832 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/1.117, allocations: 3.938 MB / 0.687 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.118, allocations: 0.845 MB / 0.6878 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/1.119, allocations: 0.6062 MB / 0.6884 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.119, allocations: 27.27 kB / 0.6885 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/1.119, allocations: 48.62 kB / 0.6885 GB, free: 101.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 2.184e-06/1.119, allocations: 0 / 0.6885 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01348/1.133, allocations: 4.936 MB / 0.6933 GB, free: 101.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.133, allocations: 89.92 kB / 0.6934 GB, free: 101.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.134, allocations: 0.8309 MB / 0.6942 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/1.134, allocations: 29.7 kB / 0.6942 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/1.134, allocations: 318.4 kB / 0.6945 GB, free: 101 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/1.135, allocations: 363.2 kB / 0.6949 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/1.135, allocations: 0 / 0.6949 GB, free: 100.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/1.135, allocations: 347.7 kB / 0.6952 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/1.135, allocations: 479.9 kB / 0.6957 GB, free: 100.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007356/1.136, allocations: 0.6056 MB / 0.6963 GB, free: 99.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008333/1.137, allocations: 0.5186 MB / 0.6968 GB, free: 99.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.137, allocations: 3.938 kB / 0.6968 GB, free: 99.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00266/1.14, allocations: 1.707 MB / 0.6985 GB, free: 98.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.14, allocations: 3.969 kB / 0.6985 GB, free: 98.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.14, allocations: 3.969 kB / 0.6985 GB, free: 98.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007461/1.147, allocations: 2.204 MB / 0.7006 GB, free: 98.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/1.148, allocations: 129.9 kB / 0.7007 GB, free: 98.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004724/1.153, allocations: 2.41 MB / 0.7031 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/1.154, allocations: 198 kB / 0.7033 GB, free: 96.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.154, allocations: 38 kB / 0.7033 GB, free: 96.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/1.155, allocations: 121.5 kB / 0.7034 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/1.155, allocations: 134.4 kB / 0.7036 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.169, allocations: 5.05 MB / 0.7085 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/1.169, allocations: 14.5 kB / 0.7085 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.169, allocations: 5.031 kB / 0.7085 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/1.169, allocations: 7.703 kB / 0.7085 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.185, allocations: 6.55 MB / 0.7149 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.185, allocations: 0 / 0.7149 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/1.186, allocations: 104.9 kB / 0.715 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005905/1.192, allocations: 2.073 MB / 0.717 GB, free: 90.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.192, allocations: 7.891 kB / 0.717 GB, free: 90.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/1.208, allocations: 7.155 MB / 0.724 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.208, allocations: 0 / 0.724 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01496/1.223, allocations: 5.982 MB / 0.7299 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01568/1.239, allocations: 7.191 MB / 0.7369 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/1.239, allocations: 231.2 kB / 0.7371 GB, free: 70.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.24, allocations: 3.906 kB / 0.7371 GB, free: 70.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.241, allocations: 147.9 kB / 0.7373 GB, free: 70.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/1.241, allocations: 131.8 kB / 0.7374 GB, free: 70.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.344e-05/1.241, allocations: 38.08 kB / 0.7374 GB, free: 70.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006923/1.242, allocations: 0.6387 MB / 0.738 GB, free: 69.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001556/1.244, allocations: 399.5 kB / 0.7384 GB, free: 69.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/1.244, allocations: 148.2 kB / 0.7386 GB, free: 69.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005706/1.249, allocations: 2.11 MB / 0.7406 GB, free: 66.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.25, allocations: 0 / 0.7406 GB, free: 66.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004811/1.254, allocations: 1.716 MB / 0.7423 GB, free: 65.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/1.255, allocations: 80.5 kB / 0.7424 GB, free: 65.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/1.259, allocations: 1.911 MB / 0.7442 GB, free: 63.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/1.259, allocations: 1.22 MB / 0.7454 GB, free: 61.99 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/1.259, allocations: 0 / 0.7454 GB, free: 61.99 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)